Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Check for infinite loop that is causing stack overflow when releasing… #6145

Closed
wants to merge 1 commit into from

Conversation

xipies
Copy link
Contributor

@xipies xipies commented Jul 14, 2019

… a pet in a battlefield.

Resolves issue #6115.

I did not see a particular code pattern in dsp for addressing an infinite loop in a dtor, so looked online for existing C++ patterns and went with this one.

@teschnei
Copy link
Contributor

teschnei commented Jul 14, 2019

the typical solution would be to figure out why it's an infinite loop and stop it from happening in the first place. the probable solution is probably to unset PBattlefield inside RemoveEntity

@xipies xipies closed this Jul 16, 2019
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants