mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 08:36:42 +00:00
Return to the app page if the connection fails when starting up
This commit is contained in:
parent
38d7b5d6c3
commit
cce9cc5fb5
3
main.cpp
3
main.cpp
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user