Based on information from <https://forum.nim-lang.org/t/10807>, I believe a 
more suitable approach would be to use `when defined(nimAllowNonVarDestructor) 
and not defined(gcRefc)`

Reply via email to