mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-25 04:14: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.PlaybackStopped -= OnPlaybackStopped;
|
||||||
m_audio.Dispose();
|
m_audio.Dispose();
|
||||||
|
m_audio = null;
|
||||||
}
|
}
|
||||||
var wave_stream = new WaveStreamImpl (sound);
|
var wave_stream = new WaveStreamImpl (sound);
|
||||||
m_audio = new WaveOutEvent();
|
m_audio = new WaveOutEvent();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user