Commit 213480b
fix: align comments and logs with actual behavior (drop cache, not close)
The heal path clears the cached dbp and reopens via indexedDB.open(),
but does not call db.close() on the old IDBDatabase. Updated comments
and log messages from 'close + reopen' to 'drop cached connection and
reopen' to match what the code actually does.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a2c8ea7 commit 213480b
2 files changed
Lines changed: 4 additions & 4 deletions
File tree
- lib/storage/providers/IDBKeyValProvider
- tests/unit/storage/providers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
0 commit comments