fix: 🐛 correct removal of newSuggestions listener#193
Conversation
|
Thanks for the PR @jonasbadstuebner. Can you please tell me more about the scenario where you faced the error? What I have understood is that the extension |
|
With #191 being merged, this is not a "real" problem anymore, the I noticed the mistake because the example app threw the error: You can reproduce this on 232214c by wrapping so it becomes return Container(
child: SuggestionList(
suggestions: value,
),and hot reloading the app. This will produce the following error: error logAs I said, this is not a problem anymore on main, but the listener is currently also not removed, so it is not working as intended. |
|
Yes, that's a good catch @jonasbadstuebner. |
dcc3ad9 to
f08803b
Compare
|
I added the
Also about
|
Description
When disposing the Widget this to provide failed, thus the listener did not get removed properly.
This change fixes the call to
removeListeners.Checklist
fix:,feat:,docs:etc).docsand added dartdoc comments with///.examplesordocs.Breaking Change?
Related Issues
#187