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

Fix memory watch crash #63

Merged
merged 2 commits into from
Nov 22, 2023
Merged

Fix memory watch crash #63

merged 2 commits into from
Nov 22, 2023

Conversation

black-sliver
Copy link
Owner

  • don't use possibly-stale reference

    we use [] on vector because the callback list can change during execution,
    the .dirty=false would then use a stale reference, writing a 0 to random memory

  • clean up remains of old code

we use [] on vector because the callback list can change during execution,
the .dirty=false would then use a stale reference, writing to random memory
@black-sliver black-sliver merged commit 09c7e15 into master Nov 22, 2023
6 checks passed
@black-sliver black-sliver deleted the fix-memory-watch-crash branch November 22, 2023 23:25
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