Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
Add microtask runner
Browse files Browse the repository at this point in the history
  • Loading branch information
a7ul committed Feb 28, 2020
1 parent 8f9ecf7 commit 43c8a33
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nodegui/qode",
"version": "2.0.3",
"version": "2.0.4",
"description": "Qode is a lightly modified fork of Node.js that merges Node's event loop with Qt's event loop. It is designed to be used together with `@nodegui/nodegui`",
"main": "index.js",
"files": [
Expand Down
1 change: 1 addition & 0 deletions src/integration/node_integration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ void NodeIntegration::UvRunOnce() {
// Deal with uv events.
uv_run(uv_loop_, UV_RUN_NOWAIT);

isolate->RunMicrotasks(); //TODO: fix me
// Tell the worker thread to continue polling.
uv_sem_post(&embed_sem_);
}
Expand Down
2 changes: 1 addition & 1 deletion src/qode.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "src/integration/node_integration.h"
#include "src/helpers/qode_helper.h"

std::string qodeVersion = "2.0.3";
std::string qodeVersion = "2.0.4";

namespace qode {

Expand Down

0 comments on commit 43c8a33

Please sign in to comment.