[Bug 57952] Q-Dir crashes on exit.