Changeset 10490 for trunk/FACT++/src
- Timestamp:
- 04/29/11 11:52:18 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineImp.cc
r10450 r10490 141 141 // queue is empty 142 142 if (fEventQueue.size()) 143 for (Event *q=fEventQueue.front(); q; fEventQueue.pop()) 143 { 144 while (1) 145 { 146 Event *q=fEventQueue.front(); 147 if (!q) 148 break; 149 150 fEventQueue.pop(); 144 151 delete q; 152 } 153 } 145 154 } 146 155 … … 1009 1018 } 1010 1019 1011 fRunning = true;1020 fRunning = !dummy; 1012 1021 fExitRequested = 0; 1013 1022
Note:
See TracChangeset
for help on using the changeset viewer.