We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99b2c43 commit 2cbbca1Copy full SHA for 2cbbca1
2 files changed
src/ProcessScheduler/Scheduler.cpp
@@ -434,6 +434,11 @@ void Scheduler::handleHistOverFlow(uint8_t div)
434
longjmp(_env, e);
435
}
436
437
+ void Scheduler::handleException(Process &process, int e)
438
+ {
439
+ process.restart();
440
+ }
441
+
442
443
bool Scheduler::jmpHandler(int e)
444
{
src/ProcessScheduler/Scheduler.h
@@ -184,7 +184,7 @@ class Scheduler
184
* Handle uncaught Process exceptions from Process process with Exception code e
185
* By default just restart it
186
*/
187
- virtual void handleException(Process &process, int e) { process.restart(); }
+ virtual void handleException(Process &process, int e);
188
#endif
189
// Inner queue object class to queue scheduler jobs
190
class QueableOperation
0 commit comments