about summary refs log tree commit diff stats
path: root/cpp/010vm
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/010vm')
-rw-r--r--cpp/010vm2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/010vm b/cpp/010vm
index 931ae673..5d3ddd53 100644
--- a/cpp/010vm
+++ b/cpp/010vm
@@ -141,6 +141,8 @@ void setup_recipes() {
   load("core.mu");
   assert(Next_recipe_number < 100);
   Next_recipe_number = 100;
+  recipes_added_by_test.clear();  // Freeze everything added so far.
+  delete Trace_stream;  Trace_stream = new trace_stream;
 :(before "End Setup")
   Next_recipe_number = 100;  // consistent new numbers for each test