Fix crash on closing a sound stream
This commit is contained in:
1 parent
b14b47fd33
commit
10e5312579
1 file changed
-3
@@ -142,10 +142,7 @@ namespace Vocaluxe.Lib.Sound.Playback
|
|||||||
{
|
{
|
||||||
int index = _GetStreamIndex(streamID);
|
int index = _GetStreamIndex(streamID);
|
||||||
if (index >= 0)
|
if (index >= 0)
|
||||||
{
|
|
||||||
_Streams[index].Close();
|
_Streams[index].Close();
|
||||||
_Streams.RemoveAt(index);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user