Forráskód Böngészése

reset recursing flag before resuming

Aidan Lee 5 hónapja
szülő
commit
160771013c
1 módosított fájl, 2 hozzáadás és 0 törlés
  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;