diff --git a/complex2.cpp b/complex2.cpp index 6e740265..86eb0e05 100644 --- a/complex2.cpp +++ b/complex2.cpp @@ -1395,6 +1395,7 @@ EX namespace dice { } } + int hook = addHook(hooks_clearmemory, 0, [] () { data.clear(); }); EX } }