diff --git a/core/inspector.rs b/core/inspector.rs index 7450e46b89..30129f94be 100644 --- a/core/inspector.rs +++ b/core/inspector.rs @@ -560,7 +560,8 @@ impl task::ArcWake for InspectorWaker { // and necessary. If it is, change the poll state to `Woken`. match w.poll_state { PollState::Idle | PollState::Polling => w.poll_state = PollState::Woken, - PollState::Woken | PollState::Dropped => return, // Nothing to do. + PollState::Woken => {} // Even if already woken, schedule an interrupt. + PollState::Dropped => return, // Don't do anything. PollState::SyncPolling => panic!("wake() called while sync polling"), };