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
It is not possible to dispose of the objects in scoped pots automatically when ScopedPottery is removed from the widget tree because it is unknown which ones are disposable. Although it is possible to automatically call dispose() by checking if the pot is for ChangeNotifier (including ValueNotifier), I want to avoid it as this package is not specifically for ChangeNotifiers. Therefore ScopedPottery should have disposer to enable users to do clean-up manually.
The text was updated successfully, but these errors were encountered:
It is not possible to dispose of the objects in scoped pots automatically when ScopedPottery is removed from the widget tree because it is unknown which ones are disposable. Although it is possible to automatically call
dispose()
by checking if the pot is for ChangeNotifier (including ValueNotifier), I want to avoid it as this package is not specifically for ChangeNotifiers. Therefore ScopedPottery should havedisposer
to enable users to do clean-up manually.The text was updated successfully, but these errors were encountered: