Commit 10a733a
fix(export): mirror disposal fixes from #331
Port the same two BackupOperationBase / BackupClient fixes that landed in
#331 to their export counterparts (which were copy-pasted from the backup
pattern):
- ExportOperationBase.DisposeInternal: drop the self-Wait. The method is
called from RefreshStatusInternal which itself runs inside
_backgroundRefreshTask, so Wait()ing on that task blocked it on its own
completion.
- ExportClient.CreateSync: wrap the operation in `await using` so it gets
disposed on every exit path, not just success (where auto-dispose runs).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c1e84e2 commit 10a733a
2 files changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
166 | 173 | | |
167 | 174 | | |
168 | 175 | | |
169 | 176 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | 177 | | |
179 | 178 | | |
180 | 179 | | |
| |||
0 commit comments