Commit Graph

1 Commits

Author SHA1 Message Date
Yury Selivanov b2599c616a Implement proper signals handling
Couple of notes:

* libuv assignes its own signals before the loop is run; but it doesn't
  properly restore the Python ones

* We try to handle SIGINT in a special way -- when Handle or TimerHandle
  are running -- we execute Python's SIGINT handler; when we're in libuv
  context, we forward the signal to the libuv's signal handler.
2015-11-27 18:53:18 -05:00