[ekiga/ds-fix-boost-leaks] CallWindow: Make sure to remove all timer sources on destruction.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-fix-boost-leaks] CallWindow: Make sure to remove all timer sources on destruction.
- Date: Wed, 4 Nov 2015 19:40:17 +0000 (UTC)
commit a6fe3be3a23b688205085f09477963d59f11312b
Author: Damien Sandras <dsandras seconix com>
Date: Wed Nov 4 20:36:11 2015 +0100
CallWindow: Make sure to remove all timer sources on destruction.
lib/engine/gui/gtk-frontend/call-window.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/call-window.cpp b/lib/engine/gui/gtk-frontend/call-window.cpp
index 2c46be9..ae5e4e8 100644
--- a/lib/engine/gui/gtk-frontend/call-window.cpp
+++ b/lib/engine/gui/gtk-frontend/call-window.cpp
@@ -1494,6 +1494,8 @@ ekiga_call_window_finalize (GObject *gobject)
if (self->priv->ext_video_win)
gtk_widget_destroy (self->priv->ext_video_win);
+ if (self->priv->timeout_id > 0)
+ g_source_remove (self->priv->timeout_id);
delete self->priv;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]