implement server state/signal handling, depend on tokio-signal
This commit is contained in:
1 parent
5a12c0e2fb
commit
7a630df709
5 files changed
+166
-3
No files matched your search
@@ -627,6 +627,7 @@ static mut SHUTDOWN_REQUESTED: bool = false;
|
||||
|
||||
pub fn request_shutdown() {
|
||||
unsafe { SHUTDOWN_REQUESTED = true; }
|
||||
crate::server::server_shutdown();
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
|
||||
Reference in new issue
Block a user