daml/compiler/scenario-service
Moritz Kiefer 126ad13326
Only register gRPC methods once (#2537)
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.
2019-08-14 16:21:17 +02:00
..
client Only register gRPC methods once (#2537) 2019-08-14 16:21:17 +02:00
protos Show function names in stack trace on failing scenario (#2516) 2019-08-14 09:16:07 +02:00
server Show function names in stack trace on failing scenario (#2516) 2019-08-14 09:16:07 +02:00