Mercurial > hg
diff hgext/logtoprocess.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 | a368da441b32 |
children | 4cf0542dcbe7 |