dreedyman / Rio

Rio is an open source technology that provides a dynamic architecture for developing, deploying and managing distributed systems composed of services.
Apache License 2.0
21 stars 17 forks source link

check if serviceConsumer is null on discarding service #42

Closed rafalkrupinski closed 10 years ago

rafalkrupinski commented 10 years ago

Destroying a service throws NPE

dreedyman commented 10 years ago

I'm not sure why this would happen, the svcConsumer would only be null pif the Cybernode had also been shutdown.

rafalkrupinski commented 10 years ago

That's right, we get NPEs during Cybernode shutdown, if there are services running