This is the production detach path: after it returns, errors caught by the global monitor are
dropped (no longer forwarded to telemetry). Intended for SDK teardown (stop()); does not
affect debug mode. Tests that need a full reset should call this followed by
setDebugMode(false).
Clears the error-collection callback registered by startMonitorErrorCollection.
This is the production detach path: after it returns, errors caught by the global monitor are dropped (no longer forwarded to telemetry). Intended for SDK teardown (
stop()); does not affect debug mode. Tests that need a full reset should call this followed bysetDebugMode(false).