Correctly remove the webclient options monitor on disconnect

This commit is contained in:
Simon Vermeersch 2017-01-15 12:13:00 +01:00 committed by Griatch
parent da7a71e6dd
commit ebbec15081

View file

@ -261,8 +261,9 @@ class ServerSession(Session):
player.at_post_disconnect()
# remove any webclient settings monitors associated with this
# session
MONITOR_HANDLER.remove(player, "webclient_settings", self.sessid)
MONITOR_HANDLER.remove(player, "_saved_webclient_options",
self.sessid)
def get_player(self):
"""