You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to http://www.amigans.net/modules/xforum/viewtopic.php?post_id=105942#forumpost105942 a crash happens when closing a project window. This happens, because the icon is freed for every removed code generator in the CAAM_RemoveGenerator method, even while the icon is still in use by the application. Even worse, once freed the icon pointer is NOT set to NULL so that the next invokation of the method will free it again.
Since the icon is obtained during OM_NEW it would be better to implement a dedicated OM_DISPOSE method and free the icon there and only once.
The text was updated successfully, but these errors were encountered:
According to http://www.amigans.net/modules/xforum/viewtopic.php?post_id=105942#forumpost105942 a crash happens when closing a project window. This happens, because the icon is freed for every removed code generator in the CAAM_RemoveGenerator method, even while the icon is still in use by the application. Even worse, once freed the icon pointer is NOT set to NULL so that the next invokation of the method will free it again.
Since the icon is obtained during OM_NEW it would be better to implement a dedicated OM_DISPOSE method and free the icon there and only once.
The text was updated successfully, but these errors were encountered: