Skip to content
Snippets Groups Projects
Commit 00100a9f authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix #501 The `webstart` and `webwait` commands led to application closing prematurely

parent 165fd84b
Branches
Tags
No related merge requests found
......@@ -857,7 +857,8 @@ function webWait() {
return new Promise(() => {
co(function *() {
let webminapi = yield webInit();
return webminapi.httpLayer.openConnections();
yield webminapi.httpLayer.openConnections();
yield new Promise(() => null); // Never stop this command, unless Ctrl+C
})
.catch(mainError);
});
......@@ -870,6 +871,7 @@ function webStart() {
yield webminapi.webminCtrl.startHTTP();
yield webminapi.webminCtrl.startAllServices();
yield webminapi.webminCtrl.regularUPnP();
yield new Promise(() => null); // Never stop this command, unless Ctrl+C
})
.catch(mainError);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment