ScriptProcess class is created in freestore by new, but there doesn't seem to be deallocation of the memory. does this happen automatically when the corressponding lua object deleted?..
Dhanush
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
Originally posted by rezination
Sure, if you want to incur the performance cost of unique_ptr. Or you could just correctly destroy memory like a big boy.
-Rez
Originally posted by rezination
Sure, if you want to incur the performance cost of unique_ptr. Or you could just correctly destroy memory like a big boy.
-Rez
1 Guest