public static void DisableExceptionHandler() { if (!BugtraceAgent._isInitialized) { return; } BugtraceAgent.UnregisterExceptionHandler(); BugtraceAgent._isInitialized = false; }