From aab0d5e9bfd13dea685614d03f420273678f8f60 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Jan 2014 19:06:36 +0000 Subject: More attempts at fixing deadlocks on exit. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5260 a436a847-0d15-0410-975c-d299462d15a1 --- src/ingen/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ingen') 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(); -- cgit v1.2.1