Skip to content

Commit

Permalink
New signals unbind
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 8, 2019
1 parent 030db5f commit fa3a0be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/netius/base/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1893,6 +1893,10 @@ def pipe_handler(signum = None, frame = None):
except (KeyboardInterrupt, SystemExit, errors.StopError):
pass

# register for the unbind of the signals, so that no more signals
# are handled while this operation is performed
self.unbind_signals()

# closes both the file based pipe for input and the pipe used
# for the output of information (as expected)
pipein_fd.close()
Expand Down

0 comments on commit fa3a0be

Please sign in to comment.