We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c627a60 commit 44f65daCopy full SHA for 44f65da
1 file changed
src/ProcessScheduler/Scheduler.cpp
@@ -196,7 +196,6 @@ int Scheduler::run()
196
#ifdef _PROCESS_TIMEOUT_INTERRUPTS
197
DISABLE_SCHEDULER_ISR();
198
#endif
199
- _active = NULL; //done!
200
//////////////////////END PROCESS SERVICING//////////////////////
201
202
#ifdef _PROCESS_STATISTICS
@@ -213,7 +212,8 @@ int Scheduler::run()
213
212
if (_active->wasServiced(force)) {
214
disable(*_active);
215
}
216
-
+ _active = NULL; //done!
+
217
count++; // incr counter
218
processQueue();
219
delay(0); // For esp8266
0 commit comments