Make it possible to escape from simple event restarter (#1303)

This commit is contained in:
Addison Crump 2023-06-06 23:43:41 +02:00 committed by GitHub
parent 747a636f4f
commit 60c1990f4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -506,6 +506,10 @@ where
compiler_fence(Ordering::SeqCst);
if staterestorer.wants_to_exit() {
return Err(Error::shutting_down());
}
#[allow(clippy::manual_assert)]
if !staterestorer.has_content() {
#[cfg(unix)]