Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/model: Correct locking when removing folder runner (ref syncthing…
…#9269) A read lock is insufficient because the remove of the map entry happens in the RemoveAndWait call, where previously it didn't. However! I'm not sure this actually fixes the problem, because we then release the lock and have a nil/unset runner for a while, which previously would happen later under fmut again...
- Loading branch information