From a0d6b40ac0ef9a1ac1d5f384fb81115667d16abe Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Thu, 29 Jan 2015 16:28:40 +0100 Subject: [PATCH] Log: Add finally {} to try {} catch {} Need to quit the loop also on error, otherwise we leave a stray main loop around. Bug #88846 --- libzeitgeist/log.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libzeitgeist/log.vala b/libzeitgeist/log.vala index 3de1c7d..100f0cc 100644 --- a/libzeitgeist/log.vala +++ b/libzeitgeist/log.vala @@ -103,7 +103,10 @@ public class Log : QueuedProxyWrapper err.message); proxy_unavailable (err); } - mainloop.quit(); + finally + { + mainloop.quit(); + } }); mainloop.run(); -- 2.1.4