x11rdp: respect disconnect timeout set by XRDP_SESMAN_MAX_DISC_TIME
The old code overwrites disconnect timeout to 60 sec when XRDP_SESMAN_KILL_DISCONNECT is set to truthy value.
This commit is contained in:
parent
5fa636be89
commit
97cd454cd6
@ -1337,7 +1337,6 @@ rdpup_init(void)
|
||||
if (i != 0)
|
||||
{
|
||||
g_do_kill_disconnected = 1;
|
||||
g_disconnect_timeout_s = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user