Open
Description
And perhaps we should implement a better version of close
and Sentry.initialize?
🤔
Specifically:
- We don't erase hub variables,
@background_worker
and@session_flusher
Sentry.initialize?
is backed by a simple boolean state that's changed bySentry.ini
andSentry.close
.
We would still need Sentry.initialize?
in some places to stop some actions after the SDK is closed, but we don't need it for preventingnil
value anymore, which is getting out of hand IMO.
Originally posted by @st0012 in #2084 (comment)