summaryrefslogtreecommitdiffstats
path: root/src/Daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-04 01:59:57 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-04 01:59:57 +0200
commit497a6ecd71745f28ec4dda3bfc1d1d6efddc3e18 (patch)
treed86f90ad9015b1dff67d9a3bd8234a0cd62c9d03 /src/Daemon
parent1404fbfe4bf90d7f9dfe36deda484fe3e91b4472 (diff)
downloadabrt-497a6ecd71745f28ec4dda3bfc1d1d6efddc3e18.tar.gz
abrt-497a6ecd71745f28ec4dda3bfc1d1d6efddc3e18.tar.xz
abrt-497a6ecd71745f28ec4dda3bfc1d1d6efddc3e18.zip
abrt-applet: set SIGCHLD to SIG_IGN to prevent zombies from gui
Also, running abrt-gui via popen is definiely wrong. We were leaking a FILE! fixed now. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon')
-rw-r--r--src/Daemon/CrashWatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Daemon/CrashWatcher.cpp b/src/Daemon/CrashWatcher.cpp
index fd69145..13e12d0 100644
--- a/src/Daemon/CrashWatcher.cpp
+++ b/src/Daemon/CrashWatcher.cpp
@@ -684,6 +684,7 @@ static gboolean waitsignal_dispatch(GSource *source, GSourceFunc callback, gpoin
{
SignalSource *ssrc = (SignalSource*) source;
ssrc->watcher->StopRun();
+ return 1;
}
/* daemon loop with glib */