Theory is that build is called at least twice before loaded is set to true.
This could lead to the situation that both futures have cleared the list and start adding items to the list in parallel.
Extracting _updateEmoji to variable will avoid that the Future will be created multiple times and should fix the issue.
Another attempt to fix #12
Theory is that
build
is called at least twice beforeloaded
is set to true.This could lead to the situation that both futures have cleared the list and start adding items to the list in parallel. Extracting
_updateEmoji
to variable will avoid that the Future will be created multiple times and should fix the issue.