avoid spurious warnings when shutdown happens before successful listen
@@ -107,7 +107,9 @@ void SharedRpcResources::wait_until_slobrok_is_ready() {
void SharedRpcResources::shutdown() {
assert(!_shutdown);
+ if (listen_port() > 0) {
_slobrok_register->unregisterName(_handle);
+ }
_transport->ShutDown(true);
_shutdown = true;
}
