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
Can't delete GetxService with force: true #1026
Comments
Only Get.reset(). |
Thank you for the fast response. But Get.reset() will destroy everything, and I need to do that selectively. Is there any option for that purpose? Probably I can use GetxController instead? Will delete() work for it? |
Exactly, if you use GetxController you can do the selective Delete |
Just attempted to do this - the result is exactly the same as for GetxService... And I also noticed that I can find controllers after being disposed. @eduardoflorence, do you have any clue why? |
@jonataslaw I'm sorry, but can I expect any answer from you, or anybody? Thank you in advance) |
@Apollo108, replace
with
|
You just saved my day, good sir! Omg, a GetxService gets deleted too! Thank you very much, I think your response deserves to be carved in the tables of documentation to this awesome library!) |
Screenshots
Why service doesn't get deleted, despite logs are saying it did?
As seen from the screenshot, I can access it afterwards. Thank you in advance!
Expected behavior
Error, when trying to access deleted service with Get.find()
Flutter Version:
1.22.5
Getx Version:
3.24.0
The text was updated successfully, but these errors were encountered: