Skip to content

Reset lazy singleton #26

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

Closed
mariomka opened this issue Oct 10, 2019 · 5 comments · Fixed by #27
Closed

Reset lazy singleton #26

mariomka opened this issue Oct 10, 2019 · 5 comments · Fixed by #27

Comments

@mariomka
Copy link

Get it is awesome! Congrats!

I have to reset (only reset, not unregister) some lazy singletons when the user logout and force to instance a new object. Is there any way to do this?

Thank you!

@ewertonrp
Copy link
Contributor

For now, you need to unregister and register again.

@escamoteur
Copy link
Collaborator

Thanks a lot for the PR

@mariomka
Copy link
Author

Amazing! When it will be available?

@shrimantNikate
Copy link

can anyone give me the example how this should be used ?

@escamoteur
Copy link
Collaborator

Whats isn't clear?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants