GUACAMOLE-115: Explicitly signal disconnect at end of connection.
This commit is contained in:
parent
16a8b9b94b
commit
1817ef4ce0
@ -102,6 +102,10 @@ int guacd_user_start(guac_parser* parser, guac_user* user) {
|
|||||||
/* Wait for I/O threads */
|
/* Wait for I/O threads */
|
||||||
pthread_join(input_thread, NULL);
|
pthread_join(input_thread, NULL);
|
||||||
|
|
||||||
|
/* Explicitly signal disconnect */
|
||||||
|
guac_protocol_send_disconnect(user->socket);
|
||||||
|
guac_socket_flush(user->socket);
|
||||||
|
|
||||||
/* Done */
|
/* Done */
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user