Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[desktop] Fix another deadlock fetching thrift clients
Wait until the queue has been filled with connections before adding it to the pool. This is done last because any exceptions thrown by the client construction could result in there being no connections available in this pool. When `get_client` is called next, it would skip this block because the key has a value, but then it would deadlock later because there are no connections for it to fetch from the pool.
- Loading branch information