Merge branch 'develop' into update_Readme

This commit is contained in:
Florian Küpper authored and GitHub committed 2017-09-02 11:50:14 +02:00
commit 63e533f456
1 file changed
+5
@@ -235,6 +235,11 @@ namespace Vocaluxe.Lib.Sound.Playback.GstreamerSharp
element = _Element;
_Element = null; //Now everything "seems" closed
}
// Should not be needed but we had an error report (#226) - so we double check here to prevent a crash
if (element == null)
return;
if (element.TargetState == State.Playing)
element.SetState(State.Paused); //Stop output
if (_CloseStreamListener != null)