I'll try turning a sighup into a KeyboardInterrupt subclass, which will give us a chance to unwind.
I suspect if the terminal has gone away altogether we may hit other problems such as io failing with EPIPE, and so we'll need to also fix some other locking-related bugs, which would be good anyhow.
I'll try turning a sighup into a KeyboardInterrupt subclass, which will give us a chance to unwind.
I suspect if the terminal has gone away altogether we may hit other problems such as io failing with EPIPE, and so we'll need to also fix some other locking-related bugs, which would be good anyhow.