Fixed closing of stream on transfer.

This commit is contained in:
Michael Jumper
2010-09-23 09:54:17 +00:00
parent 520d4cb789
commit 7bbc9b5ae5
3 changed files with 8 additions and 1 deletions

View File

@@ -197,7 +197,7 @@ void guac_start_client(guac_client* client) {
/* Accept changes to client I/O only before handling messages */
if (client_copy.io != client->io) {
guac_close(client_copy.io); /* Close old I/O */
guac_close_final(client_copy.io); /* Close old I/O and fd */
client_copy.io = client->io;
}