Skip to content

Commit

Permalink
Fix room not deleting bug (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h committed Dec 12, 2021
1 parent a57ea6d commit 7083d8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions syncplay/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,7 @@ def removeWatcher(self, watcher):
oldRoom = watcher.getRoom()
if oldRoom:
oldRoom.removeWatcher(watcher)
if self._roomsDbFile is None:
self._deleteRoomIfEmpty(oldRoom)
self._deleteRoomIfEmpty(oldRoom)

def _getRoom(self, roomName):
if roomName in self._rooms:
Expand Down

0 comments on commit 7083d8c

Please sign in to comment.