From 85bdf76025a401c82bdd183d5455444a78d89d3a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 May 2012 01:53:40 +0000 Subject: Don't double initialize Jack when running ingen -eg git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4332 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/ConnectWindow.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/gui') diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp index 6c5a8e2b..4d26e61c 100644 --- a/src/gui/ConnectWindow.cpp +++ b/src/gui/ConnectWindow.cpp @@ -195,15 +195,14 @@ ConnectWindow::connect(bool existing) } else #endif if (_mode == INTERNAL) { - if (!world->local_engine()) + if (!world->local_engine()) { world->load_module("server"); + world->load_module("jack"); + world->local_engine()->activate(); + } SharedPtr client(new SigClientInterface()); - world->load_module("jack"); - - world->local_engine()->activate(); - _app->attach(client); _app->register_callbacks(); -- cgit v1.2.1