Remove SignalEvent::Shutdown
This is handled by the `check_for_shutdown` function now.
This also means there is now no such thing as a `SignalEvent` on
Windows.
@@ -21,17 +21,10 @@ use crate::os::process;
#[cfg(unix)]
pub enum SignalEvent {
- Shutdown,
WaitForChild,
Passthrough(process::Signal),
}
-/// We only respond to Ctrl-C on Windows
-#[cfg(windows)]
-pub enum SignalEvent {
- Shutdown,
-}
-
#[cfg(unix)]
mod unix;
