mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-10-20 15:37:01 +00:00
Return to the app page if the connection fails when starting up
This commit is contained in:
1 parent
38d7b5d6c3
commit
cce9cc5fb5
1 file changed
+2
-1
@@ -100,7 +100,8 @@ void* MoonlightInstance::ConnectionThreadFunc(void* context) {
|
||||
NULL, 0,
|
||||
me->m_ServerMajorVersion);
|
||||
if (err != 0) {
|
||||
pp::Var response("Starting connection failed");
|
||||
// Notify the JS code that the stream has ended
|
||||
pp::Var response(MSG_STREAM_TERMINATED);
|
||||
me->PostMessage(response);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user