MCPcopy Create free account
hub / github.com/nodejs/node / without_sig

Function without_sig

deps/v8/tools/testrunner/local/pool.py:100–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98
99@contextmanager
100def without_sig():
101 int_handler = signal.signal(signal.SIGINT, signal.SIG_IGN)
102 term_handler = signal.signal(signal.SIGTERM, signal.SIG_IGN)
103 try:
104 yield
105 finally:
106 signal.signal(signal.SIGINT, int_handler)
107 signal.signal(signal.SIGTERM, term_handler)
108
109
110@contextmanager

Callers 2

__init__Method · 0.85
imap_unorderedMethod · 0.85

Calls 1

signalMethod · 0.45

Tested by

no test coverage detected