blueloveTH il y a 1 an
Parent
commit
b1ed78ed0e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      include/pocketpy/interpreter/vm.h

+ 1 - 1
include/pocketpy/interpreter/vm.h

@@ -28,7 +28,7 @@ typedef struct VM {
 
     py_TValue last_retval;
     py_TValue curr_exception;
-    bool is_signal_interrupted;
+    volatile bool is_signal_interrupted;
     bool is_curr_exc_handled;  // handled by try-except block but not cleared yet
 
     py_TValue reg[8];  // users' registers