File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -434,6 +434,11 @@ void Scheduler::handleHistOverFlow(uint8_t div)
434434 longjmp (_env, e);
435435 }
436436
437+ void Scheduler::handleException (Process &process, int e)
438+ {
439+ process.restart ();
440+ }
441+
437442
438443 bool Scheduler::jmpHandler (int e)
439444 {
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ class Scheduler
184184 * Handle uncaught Process exceptions from Process process with Exception code e
185185 * By default just restart it
186186 */
187- virtual void handleException (Process &process, int e) { process. restart (); }
187+ virtual void handleException (Process &process, int e);
188188#endif
189189 // Inner queue object class to queue scheduler jobs
190190 class QueableOperation
You can’t perform that action at this time.
0 commit comments