summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-04-09 15:35:46 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-04-09 15:36:02 -0600
commit230ef7596fbf6c381d26cbab8baed052e0ceb189 (patch)
treee048d7f9b3cf0c67194c871261bc15765ff578bd /libs
parente6febe040af3c305a71b0ffdc10e9f9cd9a98e6b (diff)
websockets: shutdown UI event loop is server cannot start
Diffstat (limited to 'libs')
-rw-r--r--libs/surfaces/websockets/ardour_websockets.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/surfaces/websockets/ardour_websockets.cc b/libs/surfaces/websockets/ardour_websockets.cc
index 2f2e9aff9c..80e1a2b979 100644
--- a/libs/surfaces/websockets/ardour_websockets.cc
+++ b/libs/surfaces/websockets/ardour_websockets.cc
@@ -112,6 +112,7 @@ ArdourWebsockets::start ()
it != _components.end (); ++it) {
int rc = (*it)->start ();
if (rc != 0) {
+ BaseUI::quit ();
return -1;
}
}