diff options
Diffstat (limited to 'audio.c')
-rw-r--r-- | audio.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2125,7 +2125,9 @@ void AudioExit(void) #ifdef USE_AUDIO_THREAD AudioExitThread(); #endif - UsedAudioModule->Exit(); + if ( UsedAudioModule ) { + UsedAudioModule->Exit(); + } #ifdef USE_AUDIORING AudioRingExit(); #endif |