summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/drumgizmoc.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index 02d025e..7e493cb 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -100,6 +100,7 @@ CliMain::CliMain()
CliMain::~CliMain()
{
+ hug_close();
}
void CliMain::handleMessage(Message* msg)
@@ -410,8 +411,6 @@ int CliMain::run(int argc, char* argv[])
printf("Quit.\n");
fflush(stdout);
- hug_close();
-
return 0;
}