diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-04-06 17:08:44 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-04-06 17:08:44 +0900 |
commit | 35a6e7a6d2dc26bc1f26ed66a10035ff217a7489 (patch) | |
tree | 857013904bd2eb56d4b1260e8312a25a7504e794 /src | |
parent | 0ba3ffda8d7bb958703c32886b9c03069f6e9004 (diff) |
ecore audio - dont unload modules etc. in case audio obj around on exit
if audio objects are around after ecore_audio has been shut down then
they may access the sndfile or pulse lib ptrs/funcs and thus dont
unload these. should fix crashes on shutdown.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ecore_audio/ecore_audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_audio/ecore_audio.c b/src/lib/ecore_audio/ecore_audio.c index e083b88..f62560f 100644 --- a/src/lib/ecore_audio/ecore_audio.c +++ b/src/lib/ecore_audio/ecore_audio.c | |||
@@ -68,10 +68,10 @@ ecore_audio_shutdown(void) | |||
68 | return _ecore_audio_init_count; | 68 | return _ecore_audio_init_count; |
69 | 69 | ||
70 | #ifdef HAVE_SNDFILE | 70 | #ifdef HAVE_SNDFILE |
71 | ecore_audio_sndfile_lib_unload(); | 71 | // ecore_audio_sndfile_lib_unload(); |
72 | #endif /* HAVE_SNDFILE */ | 72 | #endif /* HAVE_SNDFILE */ |
73 | #ifdef HAVE_PULSE | 73 | #ifdef HAVE_PULSE |
74 | ecore_audio_pulse_lib_unload(); | 74 | // ecore_audio_pulse_lib_unload(); |
75 | #endif /* HAVE_PULSE */ | 75 | #endif /* HAVE_PULSE */ |
76 | 76 | ||
77 | /* FIXME: Shutdown all the inputs and outputs first */ | 77 | /* FIXME: Shutdown all the inputs and outputs first */ |