Commit f090469
committed
fix(dev): ensure goroutine completion in file watcher implementation
- Added a call to `wg.Done()` in the goroutine for the file watcher to ensure proper synchronization and prevent potential deadlocks.
- Updated the goroutine structure for clarity and correctness in managing concurrent operations.1 parent 837433b commit f090469
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
334 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
335 | 336 | | |
336 | | - | |
| 337 | + | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| |||
0 commit comments