Dce=full and dynamic var

Is it possible to use dce=full and a dynamic var?

I use a dynamic var to call a custom Destructor of 2 different classes (some kind of GameState managing).
dce=full does fail on the Destructor call.
I tried to put “@keep” in all the places(class/function/var) but it doesnt work.

You should be able to @:keep classes, or @:keepSub to also keep classes that extend your class. Maybe it’s failing on another method your destructor calls as well?

Thanks for the quick reply!

I turns out that “@:keep” != “@keep:crazy_face:
:smiley: