Use stop() method on MessageHandlingServer
MessageHandlingServer has no kill() method. In case neutron server using rpc workers and is stopped, wrong method is called. Change-Id: Id4a11f3dca070e684fb9e079139ac09792bc7aad Closes-Bug: 1387053
This commit is contained in:
parent
b175a7cf1b
commit
dc4349e4cb
@ -129,7 +129,7 @@ class RpcWorker(object):
|
||||
def stop(self):
|
||||
for server in self._servers:
|
||||
if isinstance(server, rpc_server.MessageHandlingServer):
|
||||
server.kill()
|
||||
server.stop()
|
||||
self._servers = []
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user