Fix crash on closing a sound stream

This commit is contained in:
Flamefire committed 2014-08-08 20:04:50 +02:00
1 parent b14b47fd33
commit 10e5312579
1 file changed
-3
@@ -142,10 +142,7 @@ namespace Vocaluxe.Lib.Sound.Playback
{
int index = _GetStreamIndex(streamID);
if (index >= 0)
{
_Streams[index].Close();
_Streams.RemoveAt(index);
}
}
}