* morituri/common/task.py:
Show us when we stop twice. * morituri/common/gstreamer.py: Stop on Exceptions.
This commit is contained in:
@@ -98,6 +98,9 @@ class Task(object, log.Loggable):
|
||||
"""
|
||||
self.debug('stopping')
|
||||
self.running = False
|
||||
if not self.runner:
|
||||
print 'ERROR: stopping task which is already stopped'
|
||||
import traceback; traceback.print_stack()
|
||||
self.runner = None
|
||||
self._notifyListeners('stopped')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user