- Joined
- Sep 26, 2009
- Messages
- 9,534
Just a question, since sometimes I see
In the JassHelper manual, I read that the onDestroy method needs to call
I would imagine omitting something like the native destructor would be detrimental to the stability of the struct?
this.deallocate()
in the onDestroy method, sometimes I don't: does the onDestroy method need to call the generated destructor?In the JassHelper manual, I read that the onDestroy method needs to call
.deallocate()
, but then directly after that they give an example script of an onDestroy method that does not use .deallocate()
.I would imagine omitting something like the native destructor would be detrimental to the stability of the struct?