mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
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
This commit is contained in:
parent
16a8e6ffe0
commit
4752d427e4
@ -1285,6 +1285,12 @@ meta_window_actor_destroy (MetaWindowActor *self)
|
|||||||
window_type = meta_window_get_window_type (window);
|
window_type = meta_window_get_window_type (window);
|
||||||
meta_window_set_compositor_private (window, NULL);
|
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
|
* We remove the window from internal lookup hashes and thus any other
|
||||||
* unmap events etc fail
|
* unmap events etc fail
|
||||||
|
Loading…
Reference in New Issue
Block a user