Windows dtor support