Permalink
Browse files

core, bugfix: deadlock in some promise case.

  • Loading branch information...
xicilion committed Jun 30, 2018
1 parent d069cf7 commit 986703fc48dc99094375d36fc20db7929168f618
Showing with 1 addition and 0 deletions.
  1. +1 −0 fibjs/src/coroutine/Fiber.cpp
@@ -71,6 +71,7 @@ void JSFiber::fiber_proc(void* p)
AsyncEvent* ae = (AsyncEvent*)isolate->m_jobs.getHead();
hr = ae->js_invoke();
isolate->m_isolate->RunMicrotasks();
}
isolate->Unref(hr);

0 comments on commit 986703f

Please sign in to comment.