forked from enlightenment/efl
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:
parent
360ce182ef
commit
368e0c5d8f
|
@ -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);
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue