Explorar o código

reset recursing flag before resuming

Aidan Lee hai 5 meses
pai
achega
160771013c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      std/haxe/coro/BaseContinuation.hx

+ 2 - 0
std/haxe/coro/BaseContinuation.hx

@@ -30,6 +30,8 @@ abstract class BaseContinuation implements IContinuation<Any> {
         _hx_context.scheduler.schedule(() -> {
             try
             {
+                _hx_recursing = false;
+
                 final result = invokeResume();
                 if (result is Primitive) {
                     return;