• Advertisement
Sign in to follow this  

Crash in asCModule::InternalReset()

This topic is 1422 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

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

Edited by venz

Share this post


Link to post
Share on other sites
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 :)

Share this post


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

  • Advertisement