Check to see if a service is running?
Hi,
I'm trying to use a service that will only ever need to be called once. I'd like to destroy the service server object as soon as the service is completed, allowing the service name to be reused.
I've tried sending a call to Shutdown()
as the last part of the service callback, but of course this starts destroying the service while it's in use. Can anyone suggest a way to check if a service is currently in use?
I'd prefer not to use another service or topic to signal the completion of the service from the client.