ecore audio - dont unload modules etc. in case audio obj around on exit
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 6 Apr 2018 08:08:44 +0000 (17:08 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 13:26:01 +0000 (22:26 +0900)
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.

src/lib/ecore_audio/ecore_audio.c

index e083b88..f62560f 100644 (file)
@@ -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 */