discomfitor pushed a commit to branch master.

commit e186c026bb49dc1de9af8c371b0b353531f0e2ff
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Mar 4 09:06:23 2013 +0000

    freeze evas and edje when destroying comp canvas to prevent io event 
flushes from crashing during shutdown
---
 src/bin/e_comp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 6488343..787eeb1 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -4066,6 +4066,8 @@ _e_comp_del(E_Comp *c)
    E_Container *con;
 
    c->man->comp = NULL;
+   evas_event_freeze(c->evas);
+   edje_freeze();
    EINA_LIST_FOREACH(c->man->containers, l, con)
      e_container_shape_change_callback_del(con, _e_comp_shapes_update, c);
    EINA_LIST_FOREACH(e_border_client_list(), l, bd)

-- 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

Reply via email to