Reap only activity processes. Fix #5044
This commit is contained in:
@@ -19,7 +19,6 @@ import sys
|
||||
import os
|
||||
from ConfigParser import ConfigParser
|
||||
import gettext
|
||||
import signal
|
||||
|
||||
import pygtk
|
||||
pygtk.require('2.0')
|
||||
@@ -86,12 +85,6 @@ def _shell_started_cb():
|
||||
hw_manager = hardwaremanager.get_manager()
|
||||
hw_manager.set_dcon_freeze(0)
|
||||
|
||||
def _sigchild_handler(signum, frame):
|
||||
try:
|
||||
os.wait()
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
def main():
|
||||
gobject.idle_add(_shell_started_cb)
|
||||
|
||||
@@ -111,8 +104,6 @@ def main():
|
||||
win.show_all()
|
||||
gtk.main()
|
||||
|
||||
signal.signal(signal.SIGCHLD, _sigchild_handler)
|
||||
|
||||
if os.environ.has_key("SUGAR_TP_DEBUG"):
|
||||
# Allow the user time to start up telepathy connection managers
|
||||
# using the Sugar DBus bus address
|
||||
|
||||
Reference in New Issue
Block a user