Advertisement

Crash in asCModule::InternalReset()

Started by February 27, 2014 10:05 AM
0 comments, last by WitchLord 10 years, 9 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

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