Clear the JIT cache correctly when exiting the cheat dialog.