This commit is contained in:
John Smith 2022-05-24 17:15:33 -04:00
parent 424ceedfd8
commit 79d2559efd

View File

@ -18,7 +18,7 @@ pub enum ServerMode {
lazy_static! { lazy_static! {
static ref SHUTDOWN_SWITCH: Mutex<Option<SingleShotEventual<()>>> = static ref SHUTDOWN_SWITCH: Mutex<Option<SingleShotEventual<()>>> =
Mutex::new(Some(SingleShotEventual::new(()))); Mutex::new(Some(SingleShotEventual::new(Some(()))));
} }
pub fn shutdown() { pub fn shutdown() {