Commit 67957ae
fix: on awareness craah prevention and memory leak onStoreDocument (#1032)
* fix: on awareness craah prevention and memory leak onStoreDocument
* fix: prevent awareness crash and memory leak in onStoreDocument
- Fix BUG #1: Lock memory leak - store acquired lock in locks map
- Fix BUG #3: Awareness crash when no connections - check connections before publish
Fixes #1027
* chore: removed prettier locally
* reformat
---------
Co-authored-by: Jan Thurau <jan@janthurau.de>1 parent cc04534 commit 67957ae
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
254 | 255 | | |
255 | 256 | | |
256 | 257 | | |
| |||
328 | 329 | | |
329 | 330 | | |
330 | 331 | | |
| 332 | + | |
331 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
332 | 339 | | |
333 | 340 | | |
334 | 341 | | |
| |||
0 commit comments