🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Crash in asCModule::InternalReset()

Started by
0 comments, last by WitchLord 10 years, 4 months ago

Script global function is added to both globalFunctions and scriptFunctions containers. There has to be a check if refcount of it is exactly 2. Somehow I managed to make it 1 and got immediate crash by double disposal (Release from both containers).

Regards,

Alexei

Advertisement

Script global function is added to both globalFunctions and scriptFunctions containers. There has to be a check if refcount of it is exactly 2. Somehow I managed to make it 1 and got immediate crash by double disposal (Release from both containers).

Regards,

Alexei

Can you explain or show just how you managed to make it 1? And it doesn't count if you're releasing a reference that you don't own from the application :)

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement