summaryrefslogtreecommitdiff
path: root/client/pracro.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/pracro.cc')
-rw-r--r--client/pracro.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/pracro.cc b/client/pracro.cc
index 6aca830..d0fbbf2 100644
--- a/client/pracro.cc
+++ b/client/pracro.cc
@@ -137,5 +137,9 @@ int main(int argc, char *argv[])
new_macro(course, macro);
//app.setQuitOnLastWindowClosed(false);
- return app.exec();
+ int ret = app.exec();
+
+ cleanup_macros();
+
+ return ret;
}