#include "elm_widget.h"
#include "elm_priv.h"
+//TIZEN_ONLY(20181211): Fix for missing unregistration of atspi objects
+void unregister_atspi_object_in_bridge(const Eo *obj);
+//
+
const char* Access_Name[] = {
"invalid",
"accelerator label",
eina_stringshare_del(pd->description);
eina_stringshare_del(pd->translation_domain);
efl_access_relation_set_free(&pd->relations);
+ //TIZEN_ONLY(20181211): Fix for missing unregistration of atspi objects
+ unregister_atspi_object_in_bridge(obj);
+ //
efl_destructor(efl_super(obj, EFL_ACCESS_OBJECT_MIXIN));
}
//
efl_access_object_attributes_clear(eo_item);
- efl_access_removed(eo_item);
// TIZEN_ONLY(20150709) : atspi relations api
if (item->atspi_custom_relations)
//
efl_access_object_attributes_clear(obj);
- efl_access_removed(obj);
if (sd->logical.parent)
{
efl_weak_unref(&sd->logical.parent);
eldbus_service_signal_send(pd->cache_interface, sig);
}
+//TIZEN_ONLY(20181211): Fix for missing unregistration of atspi objects
+void
+unregister_atspi_object_in_bridge(const Eo *obj)
+{
+ Eo *bridge = _elm_atspi_bridge_get();
+ _bridge_object_unregister(bridge, obj);
+}
+//
+
static void
_on_object_del(void *data, const Efl_Event *event)
{
ELM_ATSPI_BRIDGE_DATA_GET_OR_RETURN(data, pd);
- _bridge_object_unregister(data, event->object);
+ //TIZEN_ONLY(20181211): Fix for missing unregistration of atspi objects
+ unregister_atspi_object_in_bridge(event->object);
+ //
sig = eldbus_service_signal_new(pd->cache_interface, ATSPI_OBJECT_CHILD_REMOVED);
Eldbus_Message_Iter *iter = eldbus_message_iter_get(sig);