* morituri/common/task.py:

Show us when we stop twice.
	* morituri/common/gstreamer.py:
	  Stop on Exceptions.
This commit is contained in:
Thomas Vander Stichele
2011-05-24 15:16:39 +00:00
parent 234ac4c644
commit 4c81edf912
3 changed files with 11 additions and 0 deletions

View File

@@ -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')