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.
This commit is contained in:
Patrick Ohly 2010-12-28 22:15:25 +01:00
parent 912f2992e8
commit 853d9d2b55

View file

@ -91,8 +91,6 @@ class Context:
Context.checkServer()
return None
loop = gobject.MainLoop()
class SyncMLSession:
sessions = []