You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I use Rollbar along with @rollbar/react. My React apps have 2 types: containers and sub-applications.
Containers dynamically load sub-applications. Each app has its own Rollbar project and therefore initialise separate Rollbar instance.
There can be situation when I navigate across apps (new app loaded and mounted, old unmounted).
Then if in some app unhandledrejection event is happened, Rollbar send event log requests for all previously opened apps (even if they are already unmounted).
The reason of that, I suppose, is here. We add global event listener and it's not removed.
Can we with some method totally destroy Rollbar instance (with ability to remove all event listeners)?
The text was updated successfully, but these errors were encountered:
Hello.
I use Rollbar along with @rollbar/react. My React apps have 2 types: containers and sub-applications.
Containers dynamically load sub-applications. Each app has its own Rollbar project and therefore initialise separate Rollbar instance.
There can be situation when I navigate across apps (new app loaded and mounted, old unmounted).
Then if in some app unhandledrejection event is happened, Rollbar send event log requests for all previously opened apps (even if they are already unmounted).
The reason of that, I suppose, is here. We add global event listener and it's not removed.
Can we with some method totally destroy Rollbar instance (with ability to remove all event listeners)?
The text was updated successfully, but these errors were encountered: