Skip to content

Commit 9558212

Browse files
committed
GUI - start Ruby server later in boot cycle
In an attempt to fix some sporadic boot issues on some users (Windows) setups, let's try and boot the Ruby server *after* we create the UDP server to listen to responses from it.
1 parent ad5866f commit 9558212

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/gui/qt/mainwindow.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ MainWindow::MainWindow(QApplication &app, bool i18n, QSplashScreen* splash)
158158
// show an error dialogue to the user and then kill the app if any of
159159
// the ports aren't available
160160
initAndCheckPorts();
161-
startRubyServer();
161+
162162

163163
std::cout << "[GUI] - hiding main window" << std::endl;
164164
hide();
@@ -202,6 +202,8 @@ MainWindow::MainWindow(QApplication &app, bool i18n, QSplashScreen* splash)
202202
sonicPiOSCServer->start();
203203
}
204204

205+
startRubyServer();
206+
205207
QThreadPool::globalInstance()->setMaxThreadCount(3);
206208
//get their user email address from settings
207209
// user_token = new QLineEdit(this);

0 commit comments

Comments
 (0)