Skip to content

Commit 61c40e2

Browse files
committed
Save the context of a suspended list before resuming the execution, so that it can safely be suspended again. Patch 3004652 by fuzzie.
svn-id: r50037
1 parent f4b700c commit 61c40e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

engines/parallaction/exec.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,10 @@ void CommandExec::runSuspended() {
193193
debugC(3, kDebugExec, "CommandExec::runSuspended()");
194194

195195
_execZone = _suspendedCtxt._zone;
196-
runList(_suspendedCtxt._first, _suspendedCtxt._last);
196+
CommandList::iterator first = _suspendedCtxt._first;
197+
CommandList::iterator last = _suspendedCtxt._last;
197198
cleanSuspendedList();
199+
runList(first, last);
198200
}
199201
}
200202

0 commit comments

Comments
 (0)