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
refactor: directly run _handle_finish_event in the store event loop when FinishEvent is dispatched, previously it used to be a normal subscribe_event, events registered in subscribe_event run in SideEffectRunnerThread and it runs them with the task_runner, and there is no guarantee task_runner runs tasks after FinishEvent is dispatched
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
- test: make sure pytest exits completely after running async tests
6
6
- refactor: in `_wait_for_store_to_finish`, instead of waiting with `asyncio.sleep`, run the store event loop when conditions are not satisfied
7
+
- refactor: directly run `_handle_finish_event` in the store event loop when `FinishEvent` is dispatched, previously it used to be a normal `subscribe_event`, events registered in `subscribe_event` run in `SideEffectRunnerThread` and it runs them with the `task_runner`, and there is no guarantee `task_runner` runs tasks after `FinishEvent` is dispatched
0 commit comments