-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Will the Instance registered by Bind.lazyPut not be deleted? #3267
Comments
same question |
@zhao004 (Workaround) I found that, if you add 'fenix: false' when using Bind.lazyPut, the controller will be deleted on closing. |
So why the Bind set the fenix to true as default? I find that in Get.lazyPut, the fenix is false as default. |
Thanks for opening this issue. |
Should I assume that I can set fenix to false for all |
Yes, definetely |
Thanks for your response. |
Describe the bug
Will the Instance registered by Bind.lazyPut not be deleted?
Will this affect performance? Is there a way to delete the Instance registered by Bind.lazyPut from memory?
Screenshots
Flutter Version:
Flutter 3.24.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision dec2ee5c1f (3 weeks ago) • 2024-11-13 11:13:06 -0800
Engine • revision a18df97ca5
Tools • Dart 3.5.4 • DevTools 2.37.3
Getx Version:
[Enter the version of the Getx you are using](get: ^5.0.0-release-candidate-9.2.1)
The text was updated successfully, but these errors were encountered: