From b19f0117d219872cc66ff4504684cf98565f0b7a Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 31 Mar 2015 14:40:00 +0400 Subject: [PATCH] (PlayFile): assign null after audio disposal. --- MainWindow.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 16895e71..f7262a21 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -814,6 +814,7 @@ namespace GARbro.GUI { m_audio.PlaybackStopped -= OnPlaybackStopped; m_audio.Dispose(); + m_audio = null; } var wave_stream = new WaveStreamImpl (sound); m_audio = new WaveOutEvent();