module Sentry

def close

Returns:
  • (void) -
def close
  if @background_worker
    @background_worker.shutdown
    @background_worker = nil
  end
  if @session_flusher
    @session_flusher.kill
    @session_flusher = nil
  end
  if configuration&.include_local_variables
    exception_locals_tp.disable
  end
  @main_hub = nil
  Thread.current.thread_variable_set(THREAD_LOCAL, nil)
end