VUL: call libxrdp_disconnect if libxrdp_process_incomming fails
This commit is contained in:
parent
31c5a30a9b
commit
06d92b787a
@ -203,6 +203,9 @@ xrdp_process_main_loop(struct xrdp_process *self)
|
||||
else
|
||||
{
|
||||
g_writeln("xrdp_process_main_loop: libxrdp_process_incomming failed");
|
||||
/* this will try to send a disconnect,
|
||||
maybe should check that connection got far enough */
|
||||
libxrdp_disconnect(self->session);
|
||||
}
|
||||
/* Run end in module */
|
||||
xrdp_process_mod_end(self);
|
||||
|
Loading…
Reference in New Issue
Block a user