__destroy only on windows