Hmm, a bad way, why?
Before calling Halt() I release all allocated memory and resources, and destroy the Carbon window, well, maybe there is still something left to release, and that is causing the problem.