riverpod icon indicating copy to clipboard operation
riverpod copied to clipboard

ref.onDispose & other life-cycles listeners should offer a way to remove the listener

Open rrousselGit opened this issue 1 year ago • 0 comments

In case a Notifier may want to use ref.onDispose only while a method is executing, we would want to remove the onDispose listener when the method ends. Otherwise we would have some memory leak

rrousselGit avatar Jun 20 '23 14:06 rrousselGit