From c247e1455b9fc0fe42eaf4e2f2dfab2aedcbd6ba Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Thu, 28 Oct 2010 00:03:14 +0200 Subject: [PATCH] Ensure that state is null on exit --- mopidy/scanner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mopidy/scanner.py b/mopidy/scanner.py index 991a0864..6537f35a 100644 --- a/mopidy/scanner.py +++ b/mopidy/scanner.py @@ -101,4 +101,5 @@ class Scanner(object): self.loop.run() def stop(self): + self.pipe.set_state(gst.STATE_NULL) self.loop.quit()