summaryrefslogtreecommitdiffstats
path: root/src/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-04 19:06:36 +0000
committerDavid Robillard <d@drobilla.net>2014-01-04 19:06:36 +0000
commitaab0d5e9bfd13dea685614d03f420273678f8f60 (patch)
tree77ba5d538881cca74f37c2eeade25f2a0192ef89 /src/ingen
parent8b97f5537cffdeda2e3d45feddb2d229f3d82ca9 (diff)
downloadingen-aab0d5e9bfd13dea685614d03f420273678f8f60.tar.gz
ingen-aab0d5e9bfd13dea685614d03f420273678f8f60.tar.bz2
ingen-aab0d5e9bfd13dea685614d03f420273678f8f60.zip
More attempts at fixing deadlocks on exit.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5260 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ingen')
-rw-r--r--src/ingen/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp
index 86f38119..15cb5f83 100644
--- a/src/ingen/main.cpp
+++ b/src/ingen/main.cpp
@@ -204,6 +204,9 @@ main(int argc, char** argv)
}
}
+ // Sleep for a second to allow event queues to drain
+ Glib::usleep(1000000);
+
// Shut down
if (world->engine())
world->engine()->deactivate();