From 10e53125795e830fcf4f238d9498c63ce5f50ae5 Mon Sep 17 00:00:00 2001 From: Flamefire Date: Fri, 8 Aug 2014 20:04:50 +0200 Subject: [PATCH] Fix crash on closing a sound stream --- Vocaluxe/Lib/Sound/Playback/CPlaybackBase.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Vocaluxe/Lib/Sound/Playback/CPlaybackBase.cs b/Vocaluxe/Lib/Sound/Playback/CPlaybackBase.cs index 05f5a35f..a9ce5959 100644 --- a/Vocaluxe/Lib/Sound/Playback/CPlaybackBase.cs +++ b/Vocaluxe/Lib/Sound/Playback/CPlaybackBase.cs @@ -142,10 +142,7 @@ namespace Vocaluxe.Lib.Sound.Playback { int index = _GetStreamIndex(streamID); if (index >= 0) - { _Streams[index].Close(); - _Streams.RemoveAt(index); - } } }