Clean up log file output and fix some bugs. Swallows spammy and useless AMP connection errors.

This commit is contained in:
Griatch 2016-09-13 23:10:51 +02:00
parent 86c970eb62
commit 76a903119c
4 changed files with 17 additions and 5 deletions

View file

@ -188,7 +188,7 @@ class PortalSessionHandler(SessionHandler):
# sessions while we are looping over them.
sessionhandler._disconnect_all = True
for session in sessionhandler.values():
session.disconnect(session)
session.disconnect()
del sessionhandler._disconnect_all
# inform Server; wait until finished sending before we continue