Mercurial > hg
comparison hgext/children.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 | ccab2923a093 |
children | d5883fd055c6 |
comparison
equal
deleted
inserted
replaced
29367:4e6e280e238f | 29369:85a18f3c0bdd |
---|