mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-10-25 13:40:28 +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,
|
NULL, 0,
|
||||||
me->m_ServerMajorVersion);
|
me->m_ServerMajorVersion);
|
||||||
if (err != 0) {
|
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);
|
me->PostMessage(response);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user