Fix segfault on exit.
authorStefan Westerfeld <stefan@space.twc.de>
Sun, 16 May 2010 14:22:15 +0000 (16:22 +0200)
committerStefan Westerfeld <stefan@space.twc.de>
Sun, 16 May 2010 14:22:15 +0000 (16:22 +0200)
src/main.cc

index 289e6aa..8721d7b 100644 (file)
@@ -86,6 +86,7 @@ main (int argc, char **argv)
         }
       else if (strcmp (buffer, "q") == 0 || strcmp (buffer, "quit") == 0)
         {
+          jack_deactivate (client);
           return 0;
         }
       else if (strlen (buffer))