[ekiga] Made the call core stop leaking connections -- and hence full objects
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Made the call core stop leaking connections -- and hence full objects
- Date: Sat, 24 Sep 2011 11:29:05 +0000 (UTC)
commit 95ed01baf6371293a120a204397a2b8e2d29357e
Author: Julien Puydt <jpuydt newton localdomain>
Date: Fri Sep 23 22:06:57 2011 +0200
Made the call core stop leaking connections -- and hence full objects
Unfortunately, that makes ekiga crash even harder on exit
lib/engine/protocol/call-core.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/protocol/call-core.cpp b/lib/engine/protocol/call-core.cpp
index 38c6fe9..dd6fbbb 100644
--- a/lib/engine/protocol/call-core.cpp
+++ b/lib/engine/protocol/call-core.cpp
@@ -48,7 +48,10 @@ using namespace Ekiga;
CallCore::~CallCore ()
{
- manager_connections.clear ();
+ for (std::list<boost::signals::connection>::iterator iter = manager_connections.begin ();
+ iter != manager_connections.end ();
+ ++iter)
+ iter->disconnect ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]