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
With this, the boot process of my application works fine. The following things happen in the boot:
::post-ids-loaded is dispatched, once ::single-post-loaded is dispatched multiple times. This is not a bug since multiple posts are loaded in parallel. The boot process can be seen as done when at least one post have been loaded.
After the defined events have been seen once, the ::boot-done gets dispatched once.
However, when the ::boot-done is dispatched, I would like to halt the boot-my-app event . However, if I do this by setting :halt? true, the following error happens multiple times:
What happens here? It seems that boot-my-app tries to de-register itself multiple times (as many times as ::single-post-loaded is dispatched, minus one since the first de-register works ok).
EDIT: It seems that this bug can be repeated with even more simple example:
I have the following boot process:
With this, the boot process of my application works fine. The following things happen in the boot:
::post-ids-loaded
is dispatched, once::single-post-loaded
is dispatched multiple times. This is not a bug since multiple posts are loaded in parallel. The boot process can be seen as done when at least one post have been loaded.After the defined events have been seen once, the
::boot-done
gets dispatched once.However, when the
::boot-done
is dispatched, I would like to halt theboot-my-app
event . However, if I do this by setting:halt? true
, the following error happens multiple times:What happens here? It seems that
boot-my-app
tries to de-register itself multiple times (as many times as::single-post-loaded
is dispatched, minus one since the first de-register works ok).EDIT: It seems that this bug can be repeated with even more simple example:
This too causes multiple de-registers if
::single-post-loaded
is dispached multiple times.The text was updated successfully, but these errors were encountered: