Operators that added themselves as modal handlers would crash if there was a Python exception in the script before returning. Now modal handlers are removed an exception occurs in exec & invoke operator callbacks.