Make reactor stop after mplayer quit.
This commit is contained in:
parent
9a6a593452
commit
77ff8af256
@ -23,6 +23,9 @@ class MplayerProtocol(LineProcessProtocol):
|
||||
def processExited(self, reason):
|
||||
self.manager.player = None
|
||||
|
||||
def processEnded(self, reason):
|
||||
reactor.stop()
|
||||
|
||||
def errLineReceived(self, line):
|
||||
sys.stderr.write(line+'\n')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user