sesman: don't close listening socket in signal handler

It is closed when the main loop terminates.
master
Pavel Roskin 8 years ago
parent 6f4ffa769c
commit d605310bdc

@ -51,8 +51,6 @@ sig_sesman_shutdown(int sig)
g_set_wait_obj(g_term_event); g_set_wait_obj(g_term_event);
g_tcp_close(g_sck);
session_sigkill_all(); session_sigkill_all();
g_snprintf(pid_file, 255, "%s/xrdp-sesman.pid", XRDP_PID_PATH); g_snprintf(pid_file, 255, "%s/xrdp-sesman.pid", XRDP_PID_PATH);

Loading…
Cancel
Save