Here's a revised version of the SignalPipeWatcher patch.

* SIGTERM/SIGINT/SIGHUP all do a graceful exit. I tested Chromium, VLC
and GIMP using strace with these signals and they all exit normally
returning exit codes and not signals.

* SignalPipeWatcher does not chain to previous handler and registers
after nsProfileLock so it takes over for these signals. The
nsProfileLock signal handler is unwanted since we are doing a normal
exit which unlocks the profile in the destructor.

* After the first termination attempt the previous handler is restored
so subsequent attempts can unlock the profile and kill the process
immediately like before.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/73536

Title:
  MASTER Firefox crashes on instant X server shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/73536/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to