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

mvNodeLink: Passing state to handlers instead of nullptr #2197 #2224

Merged
merged 1 commit into from
Jan 6, 2024

Conversation

v-ein
Copy link
Contributor

@v-ein v-ein commented Nov 16, 2023


name: Pull Request
about: Create a pull request to help us improve
title: mvNodeLink: Passing state to handlers instead of nullptr
assignees: @hoffstadt


Closes #2197

Description:
data in mvNodeLink::customAction is always null. Item handlers are supposed to get the item state instead, so this PR corrects that and passes the state to checkEvents, just like other checkEvents calls in mvNodes.cpp do.

Concerning Areas:
PR #2223 needs to be merged first - without that PR, the issue #2197 doesn't occur (it's masked by #2196), and therefore can't be tested for.

@hoffstadt hoffstadt merged commit 8b7e190 into hoffstadt:master Jan 6, 2024
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.

Binding a handler to node_link leads to a segfault
2 participants