Don't capture isolate
This commit is contained in:
parent
0dd72f7bdc
commit
9775ad1c9d
|
@ -170,7 +170,7 @@ void Main(Local<Object> exports) {
|
|||
|
||||
/* Register our own nextTick handler */
|
||||
/* We should probably also do this in pre, just to be sure */
|
||||
uWS::Loop::defaultLoop()->setPostHandler([isolate](uWS::Loop *) {
|
||||
uWS::Loop::defaultLoop()->setPostHandler([](uWS::Loop *) {
|
||||
emptyNextTickQueue(isolate);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue