Skip to content

Crash fixed #20

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

Merged
merged 1 commit into from
Nov 26, 2018
Merged

Crash fixed #20

merged 1 commit into from
Nov 26, 2018

Conversation

Masadow
Copy link
Contributor

@Masadow Masadow commented Nov 26, 2018

Fixed a crash occuring when you have a Tree structure instantiated but never constructed, the destructor would then try to halt all actions but since root_node has never been initialized, it would just segfault.

edit: Didn't notice you used aggregate for the Tree struct, any reason you did that ? I first thought it was for some sort of C compatilibity but since the rest of the library does not use POD-classes, I guess it's not the reason

@facontidavide facontidavide merged commit e7ebb0f into BehaviorTree:master Nov 26, 2018
@facontidavide
Copy link
Collaborator

Awesome!!!!
Thank you so much for the fix.

5730289021-NN pushed a commit to FIBO-Engineer/BehaviorTree.CPP that referenced this pull request Sep 14, 2023
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.

2 participants