Skip to content
Snippets Groups Projects
Commit c2ddfe9f6023 authored by jfp's avatar jfp
Browse files

Fix a bug when stop program is issue and the program is starting

parent c1e2564e7216
No related branches found
No related tags found
No related merge requests found
......@@ -518,7 +518,7 @@
starlet.forcex(pid, code=ssdef.SS__FORCEX)
self.process.state = ProcessStates.STOPPING
if self.timer_item:
self.timer_item.cancel
self.timer_item.cancel = True
self.timer_item = TimerItem(TimerItemType.PROC_STOPPING, self)
timer_queue.put(
PrioritizedItem(current_tick + self.stopwaitsecs, self.timer_item)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment