|
@@ -1222,7 +1222,8 @@ handle_control_signal(control_connection_t *conn, uint32_t len,
|
|
/* Flush the "done" first if the signal might make us shut down. */
|
|
/* Flush the "done" first if the signal might make us shut down. */
|
|
if (sig == SIGTERM || sig == SIGINT)
|
|
if (sig == SIGTERM || sig == SIGINT)
|
|
connection_handle_write(TO_CONN(conn), 1);
|
|
connection_handle_write(TO_CONN(conn), 1);
|
|
- signal_callback(0,0,(void*)(uintptr_t)sig);
|
|
|
|
|
|
+
|
|
|
|
+ process_signal(sig);
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|