client: review connection locking (MTClientConnection)
This mainly changes several methods to lock automatically instead of asserting that the caller did it. This removes any overhead for non-MT classes, and the use of 'with' instead of lock/unlock methods also simplifies the API.
Showing
Please register or sign in to comment