Skip to content

Commit a27e168

Browse files
author
David Anderson
committed
Ignore SIGINT on all subprocesses. (bug 1277068, r=billm)
1 parent 5dc3957 commit a27e168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolkit/xre/nsSigHandlers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ void InstallSignalHandlers(const char *aProgname)
264264
sigaction(SIGFPE, &sa, &osa);
265265
#endif
266266

267-
if (XRE_IsContentProcess()) {
267+
if (!XRE_IsParentProcess()) {
268268
/*
269269
* If the user is debugging a Gecko parent process in gdb and hits ^C to
270270
* suspend, a SIGINT signal will be sent to the child. We ignore this signal

0 commit comments

Comments
 (0)