ecore_audio - don't about destruction because of failed sndfile load

this means objetcs are only partly destroyed and that is wrong.

@fix
This commit is contained in:
Carsten Haitzler 2018-01-12 18:45:17 +09:00
parent 360ce182ef
commit 368e0c5d8f
2 changed files with 0 additions and 2 deletions

View File

@ -203,7 +203,6 @@ _ecore_audio_in_sndfile_efl_object_destructor(Eo *eo_obj, Ecore_Audio_In_Sndfile
{
Ecore_Audio_Object *ea_obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_CLASS);
if (!ESF_LOAD()) return;
if (obj->handle)
ESF_CALL(sf_close)(obj->handle);

View File

@ -180,7 +180,6 @@ _ecore_audio_out_sndfile_efl_object_destructor(Eo *eo_obj, Ecore_Audio_Out_Sndfi
{
Ecore_Audio_Output *out_obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_OUT_CLASS);
if (!ESF_LOAD()) return;
if (obj->handle)
ESF_CALL(sf_close)(obj->handle);
if (out_obj->write_idler)