summaryrefslogtreecommitdiff
path: root/core/inspector.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/inspector.rs')
-rw-r--r--core/inspector.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/inspector.rs b/core/inspector.rs
index d7c84608f..d7592fbe4 100644
--- a/core/inspector.rs
+++ b/core/inspector.rs
@@ -365,6 +365,9 @@ impl JsRuntimeInspector {
w.poll_state = PollState::Parked;
w.parked_thread.replace(thread::current());
}
+ PollState::Parked => {
+ w.parked_thread.replace(thread::current());
+ }
_ => unreachable!(),
};
w.poll_state