Mercurial > hg
diff hgext/rebase.py @ 29369:85a18f3c0bdd
chg: reset signal handlers to default before waiting pager
Our signal handlers forward signals to the server process, but it will
disappear soon after hgc_close(). So we should unregister handlers before
hgc_close(). Otherwise chg would abort due to kill(perrpid, sig) failure.
The problem is spotted by SIGWINCH while waiting pager termination.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 15 Jun 2016 23:32:00 +0900 |
parents | 8a080faba2eb |
children | 0b5e9a625042 |