fix loop exit bug

This commit is contained in:
petrucci4prez 2017-06-03 22:36:46 -04:00
parent c54ded85d9
commit 05ef57bebd
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class ThreadedPipeline:
pName = self._pipeline.get_name()
bus = self._pipeline.get_bus()
while self._stopper:
while not self._stopper.isSet():
# TODO: if we actually want to stop the pipeline asyncronously we
# need to post a message on the bus that tells it to stop. Otherwise
# it will wait here forever (or will be terminated as a daemon