diff options
author | André Nusser <andre.nusser@googlemail.com> | 2016-02-10 12:52:45 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-10 12:52:45 +0100 |
commit | df203ab874d0ba57244d4f40e9ca847c943c018f (patch) | |
tree | 8947470dddf0a635152f3a9bad7d8486a5e0634b /drumgizmo/drumgizmoc.cc | |
parent | eddcef9d4b81041e883626044d9dae81f8d8d9d9 (diff) |
Call hug_close in desctructor not run. Prevents threading errors.
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r-- | drumgizmo/drumgizmoc.cc | 3 |
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; } |