mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +08:00
(PlayFile): assign null after audio disposal.
This commit is contained in:
parent
1e70ac5961
commit
b19f0117d2
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user