summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTime Penhey <tim.penhey@canonical.com>2011-08-12 19:43:55 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-08-12 19:43:55 +0800
commit81b7cb57b877af608e5077e9932098407c1775c9 (patch)
tree7617f7225801de8b61e4e213b80abbeeab698bfa
parent9f4cdd614c5e6bd647662580d776954c52eae1db (diff)
downloadmobileperf-81b7cb57b877af608e5077e9932098407c1775c9.tar.gz
mobileperf-81b7cb57b877af608e5077e9932098407c1775c9.tar.bz2
Merge in source reset change
-rw-r--r--src/screen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 2ab2b02..f0d8601 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -4701,4 +4701,6 @@ PrivateScreen::PrivateScreen (CompScreen *screen) :
PrivateScreen::~PrivateScreen ()
{
+ // reset the even source before hitting the other glib cleanup.
+ source.reset();
}