about summary refs log tree commit diff stats
path: root/072scheduler.cc
diff options
context:
space:
mode:
Diffstat (limited to '072scheduler.cc')
-rw-r--r--072scheduler.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/072scheduler.cc b/072scheduler.cc
index 945e0402..9a914cc5 100644
--- a/072scheduler.cc
+++ b/072scheduler.cc
@@ -52,7 +52,10 @@ vector<routine*> Routines;
 int Current_routine_index = 0;
 :(before "End Setup")
 Scheduling_interval = 500;
+for (int i = 0;  i < SIZE(Routines);  ++i)
+  delete Routines.at(i);
 Routines.clear();
+Current_routine = NULL;
 :(replace{} "void run(const recipe_ordinal r)")
 void run(const recipe_ordinal r) {
   run(new routine(r));
@@ -114,12 +117,6 @@ string routine_label(routine* r) {
   return result.str();
 }
 
-:(before "End Teardown")
-for (int i = 0;  i < SIZE(Routines);  ++i)
-  delete Routines.at(i);
-Routines.clear();
-Current_routine = NULL;
-
 //: special case for the very first routine
 :(replace{} "void run_main(int argc, char* argv[])")
 void run_main(int argc, char* argv[]) {
999spaces.cc?h=hlt&id=be3fb4e139cff16a472fcde00642bf891e953aaf'>be3fb4e1 ^
82c04e61 ^

be3fb4e1 ^


13ba3def ^


1fad5eef ^
be3fb4e1 ^
7feea75b ^



9a81d746 ^
cdd6fd09 ^
7feea75b ^
cdd6fd09 ^

dfdfc7e9 ^


215365d4 ^

215365d4 ^

67bc24e7 ^
215365d4 ^
dfdfc7e9 ^
215365d4 ^
808e171d ^
1ead3562 ^
5d2a486d ^
f7631430 ^
f78f1907 ^
04209f72 ^
87f1cf60 ^

f78f1907 ^
5d2a486d ^


8a70ff4d ^
215365d4 ^


215365d4 ^
5d2a486d ^
dfdfc7e9 ^
215365d4 ^
f7631430 ^
215365d4 ^
5d2a486d ^

215365d4 ^
5d2a486d ^
1ead3562 ^
5d2a486d ^
1ead3562 ^
215365d4 ^
dfdfc7e9 ^
691b529e ^












1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88