mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 13:48:57 +08:00
(PlayFile): assign null after audio disposal.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user