Fixed Removal of service without os manager on "logout"

This commit is contained in:
Adolfo Gómez García 2017-10-16 11:10:39 +02:00
parent 8aa1607fee
commit 0eebe6a0a5

View File

@ -226,6 +226,8 @@ class Actor(Handler):
osm.loggedIn(service)
else:
osm.loggedOut(service)
# Mark for removal...
service.release() # Release for removal
return 'ok'
raise Exception('Unknown message {} for an user service without os manager'.format(message))
else: