Improved input shutdown reason detection
This commit is contained in:
parent
8ce3498269
commit
45b245ad4e
1 changed files with 2 additions and 2 deletions
|
@ -448,9 +448,9 @@ namespace Mist {
|
||||||
getNext();
|
getNext();
|
||||||
nProxy.userClient.keepAlive();
|
nProxy.userClient.keepAlive();
|
||||||
}
|
}
|
||||||
if (!thisPacket){return "Invalid packet";}
|
|
||||||
if (!config->is_active){return "received deactivate signal";}
|
|
||||||
if (!nProxy.userClient.isAlive()){return "buffer shutdown";}
|
if (!nProxy.userClient.isAlive()){return "buffer shutdown";}
|
||||||
|
if (!config->is_active){return "received deactivate signal";}
|
||||||
|
if (!thisPacket){return "Invalid packet";}
|
||||||
return "Unknown";
|
return "Unknown";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue