mirror of
https://github.com/syncthing/syncthing.git
synced 2026-03-23 00:31:15 -04:00
clearAddresses write locks the struct and then calls notify. notify in turn tries to obtain a read lock on the same mutex. The result was a deadlock. This change unlocks the struct before calling notify.