mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-05-19 16:10:38 +00:00
Return to the app page if the connection fails when starting up
This commit is contained in:
@@ -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