//as_generic.cpp (Ln 408 Col 9)
if( obj && beh->addref )
//as_context.cpp (Ln 3446 Col 17) (Ln 3475 in current WIP)
if( obj && beh->release )
hans
🎉 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!
asIScriptGeneric and null object handles
hi
i've found that passing or returning null handles when using call_generic convention causes crash (mostly because of calling addref/release methods on null pointer)
the simple fix is to add 'obj &&' to lines:
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement