We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a562f7c commit a264ce8Copy full SHA for a264ce8
core/inspector.rs
@@ -678,11 +678,12 @@ impl task::ArcWake for InspectorWaker {
678
if let Some(waker) = w.task_waker.take() {
679
waker.wake()
680
}
681
+ // TODO(bartlomieju): this comment has a lot of wisdom related to `poll_sessions`
682
+ // interaction - figure it out
683
// Request an interrupt from the isolate if it's running and there's
684
// not unhandled interrupt request in flight.
- if let Some(arg) =
- w.state_ptr.take().map(|ptr| ptr.as_ptr() as *mut c_void)
685
- {
+ if let Some(state_ptr) = w.state_ptr.take() {
686
+ let arg = state_ptr.as_ptr() as *mut c_void;
687
w.isolate_handle.request_interrupt(handle_interrupt, arg);
688
689
0 commit comments