diff options
author | Henrik Andersson <hean01@cendio.com> | 2018-01-29 14:10:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-29 14:10:38 +0100 |
commit | 54c38f7f62c2a0341132db007bf2dfcf6886c910 (patch) | |
tree | 62da6f986a76ccb7422a77cf3891dc96f0c5ad69 | |
parent | da5153c578ca21fd380cfa11bed044b743e17403 (diff) | |
parent | 2491a3c4365fe5d31d586dfd490c176bf54aeefb (diff) | |
download | rdesktop-54c38f7f62c2a0341132db007bf2dfcf6886c910.zip |
Merge pull request #240 from rdesktop/fix_issue228
Clear g_exit_mainloop before new connection
-rw-r--r-- | rdp.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1810,9 +1810,6 @@ rdp_main_loop(RD_BOOL * deactivated, uint32 * ext_disc_reason) g_exit_mainloop = True; } } while(g_exit_mainloop == False); - - /* clear the exit main loop flag */ - g_exit_mainloop = False; } /* used in uiports and rdp_main_loop, processes the RDP packets waiting */ @@ -1901,6 +1898,7 @@ rdp_reset_state(void) { g_next_packet = NULL; /* reset the packet information */ g_rdp_shareid = 0; + g_exit_mainloop = False; sec_reset_state(); } |