From 853d9d2b554dcbf687b4ae835f6359d840abfd19 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Tue, 28 Dec 2010 22:15:25 +0100 Subject: [PATCH] syncevo-http-server: removed obsolete and harmful gobject.MainLoop Instantiating gobject.MainLoop had two negative side effects: - shutdown after CTRL-C got stuck - SIGCHLD after syncevo-dbus-server shutdown also caused a deadlock Not sure why the "loop = gobject.MainLoop()" was in the code; it doesn't seem to serve any purpose anymore. --- test/syncevo-http-server.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/syncevo-http-server.py b/test/syncevo-http-server.py index 76703413..48cf881b 100755 --- a/test/syncevo-http-server.py +++ b/test/syncevo-http-server.py @@ -91,8 +91,6 @@ class Context: Context.checkServer() return None -loop = gobject.MainLoop() - class SyncMLSession: sessions = []