Thyme icon indicating copy to clipboard operation
Thyme copied to clipboard

Cleanup RenderObjClass properly

Open xezon opened this issue 3 years ago • 1 comments

Untested. ~~Not applicable for GAME_DLL I think, because touches vtable.~~

The idea is call Remove function before deletion, to make sure that the deleted object is being disconnected always. If it is not disconnected, then dangling pointer can cause game crash. Essentially this change makes code more robust.

xezon avatar Sep 08 '22 08:09 xezon

Updated with implementation that does not touch vtable.

xezon avatar Sep 08 '22 12:09 xezon