diff options
| author | Adam <[email protected]> | 2026-01-17 05:23:11 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-01-17 05:23:17 -0600 |
| commit | 2729705594b9429ce44cf371dbf7268ac3457d8b (patch) | |
| tree | d6c32c922eb0fb6dbf4d5d35a234f11c1e4b2275 /packages/app/src/context | |
| parent | ea13b6e8aa219f0c75eb13a6a58271d75c37521e (diff) | |
| download | opencode-2729705594b9429ce44cf371dbf7268ac3457d8b.tar.gz opencode-2729705594b9429ce44cf371dbf7268ac3457d8b.zip | |
fix(app): archive session sometimes flaky
Diffstat (limited to 'packages/app/src/context')
| -rw-r--r-- | packages/app/src/context/global-sync.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/app/src/context/global-sync.tsx b/packages/app/src/context/global-sync.tsx index 74641a0a2..96f8c63ea 100644 --- a/packages/app/src/context/global-sync.tsx +++ b/packages/app/src/context/global-sync.tsx @@ -379,6 +379,8 @@ function createGlobalSync() { }), ) } + if (event.properties.info.parentID) break + setStore("sessionTotal", (value) => Math.max(0, value - 1)) break } if (result.found) { |
