#19137 - signal child when autoreloader parent is exiting on a signal #448

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

santtu commented Oct 17, 2012

This is a fix for https://code.djangoproject.com/ticket/19137. It
works by setting signal handlers on SIGINT and SIGTERM, which will
send SIGINT to the autoreloaded child, if one has been started, and
then will exit themselves.

@santtu santtu Signal autoreloaded child when parent is exiting on a signal.
This is a fix for https://code.djangoproject.com/ticket/19137. It
works by setting signal handlers on SIGINT and SIGTERM, which will
send SIGINT to the autoreloaded child, if one has been started, and
then will exit themselves.
e8f46ae
Owner

timgraham commented Jul 19, 2013

Based on discussion in the ticket, it looks like this doesn't work on Windows.

timgraham closed this Jul 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment