revert previous "on stop" change

This commit is contained in:
Uriziel 2012-09-30 16:43:26 +02:00
parent 25ab66e0ad
commit 4696a6126a

View File

@ -260,8 +260,6 @@ class SyncplayClientManager(object):
reactor.run()
def stop(self, promptForAction = True):
if(promptForAction):
self.ui.promptFor("Press enter to exit\n")
if not self.running:
return
self.running = False
@ -272,7 +270,8 @@ class SyncplayClientManager(object):
if self.player:
self.player.drop()
reactor.callLater(0.1, reactor.stop)
if(promptForAction):
self.ui.promptFor("Press enter to exit\n")
def checkIfFileMatchesOthers(self):
notMatchingList = self.users.getUsersWithNotMatchingFilenames()