-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disposing the Hub with AutoSessionTracking gives an error #1374
Comments
The SDK is getting Disposed when Init is called again. So the behavior is correct there. |
so should we throw on the second init call? |
@bruno-garcia @lucas-zimerman thoughts on the above? |
That would be breaking though, wouldn't it? |
The SDK should be OK with being disposed without breaking internally though. Once there's "more information" a following Init call is done. That's not ideal but can happen, also when there are more than 1 package and "init" is setup on both. That's not ideal but because it's a bit of a trap that each integration can initialize, it can happen. The static |
Closing in favor of #2033 |
As observed on Unity, when you dispose of a hub and usingAutoSessionTracking, an error will be thrown once the SDK disposes of the SDK hub. You can reproduce the error with the following snippet:
The following error was received:
The text was updated successfully, but these errors were encountered: