Skip to content

Commit

Permalink
Move notify below the thread event, so we register the thread is added
Browse files Browse the repository at this point in the history
  • Loading branch information
RemcoSmitsDev committed Jan 11, 2025
1 parent 272ec78 commit 635e237
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/debugger_ui/src/debugger_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,6 @@ impl DebugPanel {
self.dap_store.update(cx, |_, cx| {
cx.emit(DapStoreEvent::Notification(MESSAGE.into()));
});

cx.notify();
};
}

Expand All @@ -826,6 +824,7 @@ impl DebugPanel {
}

cx.emit(DebugPanelEvent::Thread((*client_id, event.clone())));
cx.notify();
}

fn handle_exited_event(
Expand Down

0 comments on commit 635e237

Please sign in to comment.