Jump to content
  • Advertisement
Sign in to follow this  
_orm_

Another Assertion Crash

This topic is 2641 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'll take a harder look at this when I get home, but it is occurring here: Assertion failed: value > 0, file C:\mengin\src\deps\angelscript\as_atomic.cpp, line 121

Share this post


Link to post
Share on other sites
Advertisement
Looks like an object is released more times than it should. Let me know if you find out in which situation this happens.





[edit] Darn, I keep skipping words.

Share this post


Link to post
Share on other sites
This actually makes a bit of sense. I refactored my code yesterday so that any game object can take a scripted object and event propagation on the backend can be delegated to the actual objects that propagate them. I'll need to do some reference counting.

EDIT: Yep, that seems to have been the problem. Thanks for the insight. And the refactor seems to be working very well.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!