mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-11 10:16:22 +00:00
Terminate the connection if video isn't received for 10 seconds
This commit is contained in:
@@ -564,7 +564,7 @@ static void controlReceiveThreadFunc(void* context) {
|
||||
// SERVER_TERMINATED_INTENDED
|
||||
if (terminationReason == 0x0100) {
|
||||
// Pass error code 0 to notify the client that this was not an error
|
||||
terminationErrorCode = 0;
|
||||
terminationErrorCode = ML_ERROR_GRACEFUL_TERMINATION;
|
||||
}
|
||||
else {
|
||||
// Otherwise pass the reason unmodified
|
||||
|
||||
Reference in New Issue
Block a user