Ensure WS is stopped on SIGINT if running as --real-time-html.
@@ -1394,6 +1394,7 @@ handle_signal_action (GO_UNUSED int sig_number) {
fprintf (stderr, "\nSIGINT caught!\n");
fprintf (stderr, "Closing GoAccess...\n");
+ if (conf.output_stdout && conf.real_time_html)
stop_ws_server (gwswriter, gwsreader);
conf.stop_processing = 1;
