improve plug/mod cleanup strategy

This commit is contained in:
Bastian Schroll 2019-10-25 15:36:10 +02:00
parent 9ce4fd7420
commit 512d72e97a
No known key found for this signature in database
GPG key ID: 0AE96912A20E9F5F
5 changed files with 25 additions and 16 deletions

View file

@ -112,7 +112,7 @@ except: # pragma: no cover
finally:
logging.debug("Starting shutdown routine")
if bwRoutMan:
del bwRoutMan
bwRoutMan.cleanup()
if bwServer:
bwServer.stop()
if bcServer: