Fix a couple of deadlocks caused by emitting ServersListChanged
authorCarl Hetherington <cth@carlh.net>
Tue, 12 Feb 2019 22:18:43 +0000 (22:18 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 12 Feb 2019 22:18:43 +0000 (22:18 +0000)
commita27a2c35f0a50d5b03b3731f01f595410fe28ec7
treea853d873d9d29a422141c547a968274e82074795
parent94547976c896b9fb169a003e674b210d1c8583b9
Fix a couple of deadlocks caused by emitting ServersListChanged
with a lock on _servers_mutex; handlers to that signal may call
::servers() which tries to take a lock on the same mutex.
src/lib/encode_server_finder.cc