disableDebugMode static method

void disableDebugMode()
override

Disables logging enabled by enableDebugMode.

Implementation

static void disableDebugMode() {
  disposable_common.Disposable.disableDebugMode();

  // If there is a leak flag factory function on the window, remove it.
  if (js.context.hasProperty(leakFlagFactoryName)) {
    js.context.deleteProperty(leakFlagFactoryName);
  }
}