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