Open ksuprynowicz opened 1 week ago
Sometimes script signal proxies do not get deleted with script engine since there's some remaining reference to their smart pointer. Then later when they get deleted script engine is already gone and access-after-delete happens, sometimes causing crash. To fix this we should try adding a check in script engine destructor that would assure that all the proxies are deleted. This could be accomplished with weak smart pointers.