This commit is contained in:
Andy Gayton 2024-06-19 21:47:35 -04:00
parent 1a7add9335
commit 62ea26d933

View File

@ -12,7 +12,6 @@ pub(crate) fn ctrlc_protection(
{
let ctrlc = ctrlc.clone();
let subscribers = subscribers.clone();
ctrlc::set_handler(move || {
ctrlc.store(true, Ordering::SeqCst);
if let Ok(mut subscribers) = subscribers.lock() {