From: Carsten Haitzler (Rasterman) Date: Fri, 6 Apr 2018 08:08:44 +0000 (+0900) Subject: ecore audio - dont unload modules etc. in case audio obj around on exit X-Git-Tag: upstream/1.21.0~1412 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c87a27e535e5bcbf18140cfebf9f25f5d83f573;p=platform%2Fupstream%2Fefl.git 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. --- 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) return _ecore_audio_init_count; #ifdef HAVE_SNDFILE - ecore_audio_sndfile_lib_unload(); +// ecore_audio_sndfile_lib_unload(); #endif /* HAVE_SNDFILE */ #ifdef HAVE_PULSE - ecore_audio_pulse_lib_unload(); +// ecore_audio_pulse_lib_unload(); #endif /* HAVE_PULSE */ /* FIXME: Shutdown all the inputs and outputs first */