code: public void disable() {
          enabled = false;
  
          // It's possible that another uncaught exception handler was installed 'over' us.
          // Whether or not it wrapped us, we have no control over what other classes do, and
          // so we can only remove ourselves if we are still the ('top most') default handler.
          // The 'enabled' boolean exists to ensure we no longer handle uncaught exceptions
          // even in the scenario where we are wrapped.
          Thread.UncaughtExceptionHandler currentHandler = Thread.getDefaultUncaughtExceptionHandler();
          if (currentHandler == this) {
              Thread.setDefaultUncaughtExceptionHandler(defaultExceptionHandler);
          }
      }
docs: Disable this instance and attempt to remove it as the default {@link Thread.UncaughtExceptionHandler}.