From db32e329f78970387b4ea7bcd4fe0bf86bee2f9f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 Jul 2007 19:34:35 +0000 Subject: Possible fix for race condition crash. git-svn-id: http://svn.drobilla.net/lad/ingen@584 a436a847-0d15-0410-975c-d299462d15a1 --- src/progs/ingen/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp index 46e0a1c3..9ca0b65d 100644 --- a/src/progs/ingen/main.cpp +++ b/src/progs/ingen/main.cpp @@ -134,9 +134,12 @@ main(int argc, char** argv) engine_interface = engine->new_queued_interface(); if (engine && engine_interface) { - engine->start_jack_driver(); + if (use_osc) engine->start_osc_driver(args.engine_port_arg); + + engine->start_jack_driver(); + engine->activate(); } -- cgit v1.2.1