mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
126ad13326
SS.scenarioServiceClient does not just read the actual client from some IORef, it registers the available gRPC methods. Apparently we never knew about this or at least I didn’t. By only doing this once, we should speed things up a bit and this fixes once of the assertion failures that we have been seing on shutdown (pthread_mutex_lock(&mu->mutex) == 0 in sync_posix.cc) which was caused by trying to register a method from another thread after destroying the channel. |
||
---|---|---|
.. | ||
client | ||
protos | ||
server |