Don't capture isolate

This commit is contained in:
Alex Hultman 2018-11-05 01:42:54 +01:00
parent 0dd72f7bdc
commit 9775ad1c9d

View File

@ -170,7 +170,7 @@ void Main(Local<Object> exports) {
/* Register our own nextTick handler */ /* Register our own nextTick handler */
/* We should probably also do this in pre, just to be sure */ /* 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); emptyNextTickQueue(isolate);
}); });