GUAC-622: Do not log a pointless error every time the client disconnects properly. Just stop the client - we have a function for that now.
This commit is contained in:
parent
e1ac588296
commit
4d48dc384b
@ -317,7 +317,8 @@ int __guac_handle_end(guac_client* client, guac_instruction* instruction) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int __guac_handle_disconnect(guac_client* client, guac_instruction* instruction) {
|
int __guac_handle_disconnect(guac_client* client, guac_instruction* instruction) {
|
||||||
/* Return error code to force disconnect */
|
guac_client_log_info(client, "Disconnect requested. Stopping client...");
|
||||||
return -1;
|
guac_client_stop(client);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user