Commit 3b2fa94
committed
Fix delay when navigating to a cluster
- `loadCluster` --> `await dispatch('cluster/unsubscribe');` --> cleanupTasks.push(waitFor(() => !this.$workers[getters.storeName], 'Worker is destroyed'));
- the waitFor was not immediately resolved, so waited the default 500ms before checking again
- for some reason we're now not in the immediate world so wait the 500ms
- resolution is to reduce the delay in waitFor to 50ms1 parent c0ddf99 commit 3b2fa94
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
| 473 | + | |
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| |||
0 commit comments