[mutter/gnome-3-10-wayland] window_actor: Remove the frame_messages timeout in destroy
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-10-wayland] window_actor: Remove the frame_messages timeout in destroy
- Date: Sun, 2 Feb 2014 14:17:17 +0000 (UTC)
commit 93ee413df21084212415d7cdc80373d53bb52da4
Author: Adel Gadllah <adel gadllah gmail com>
Date: Sun Feb 2 11:37:25 2014 +0100
window_actor: Remove the frame_messages timeout in destroy
Otherwise it might fire off later and cause a crash.
https://bugzilla.gnome.org/show_bug.cgi?id=723468
src/compositor/meta-window-actor.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index edaf8c9..d7d3ef5 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -1442,6 +1442,12 @@ meta_window_actor_destroy (MetaWindowActor *self)
window_type = meta_window_get_window_type (window);
meta_window_set_compositor_private (window, NULL);
+ if (priv->send_frame_messages_timer != 0)
+ {
+ g_source_remove (priv->send_frame_messages_timer);
+ priv->send_frame_messages_timer = 0;
+ }
+
/*
* We remove the window from internal lookup hashes and thus any other
* unmap events etc fail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]