VUL: call libxrdp_disconnect if libxrdp_process_incomming fails
Conflicts: xrdp/xrdp_process.c
This commit is contained in:
parent
04f121f214
commit
44d8b601ba
@ -190,6 +190,9 @@ xrdp_process_main_loop(struct xrdp_process* self)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_writeln("xrdp_process_main_loop: libxrdp_process_incomming failed");
|
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);
|
||||||
}
|
}
|
||||||
xrdp_process_mod_end(self);
|
xrdp_process_mod_end(self);
|
||||||
libxrdp_exit(self->session);
|
libxrdp_exit(self->session);
|
||||||
|
Loading…
Reference in New Issue
Block a user