Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminate thread when pane is closed/removed #14

Merged

Conversation

RemcoSmitsDev
Copy link
Owner

@RemcoSmitsDev RemcoSmitsDev commented Aug 4, 2024

This PR changes my original idea how to fix send terminate threads a bit. Originally, my idea was to send a new event before we removed the pane, but It turns out that event is always received late. At that point, we cannot get the pane by his ID anymore. So to fix this I have to send the handle of the pane with the removed event so we can still grab some values from the pane in any subscriber.

Screen.Recording.2024-08-04.at.11.26.25.mov

/cc @Anthony-Eid

I changed the value of the RemovedItem to contain the handle of the pane. So we can still do something with the stored values on it.
@RemcoSmitsDev RemcoSmitsDev changed the title Send terminate thread request when pane is closed Terminate thread when pane is closed/removed Aug 4, 2024
@RemcoSmitsDev RemcoSmitsDev merged commit 96bdeca into debugger Aug 5, 2024
3 of 7 checks passed
@RemcoSmitsDev RemcoSmitsDev deleted the send-terminate-thread-request-when-pane-is-closed branch August 5, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant