MCPcopy Create free account
hub / github.com/RightNow-AI/autokernel / __exit__

Method __exit__

bench.py:67–73  ·  view source on GitHub ↗
(self, *exc)

Source from the content-addressed store, hash-verified

65 return self
66
67 def __exit__(self, *exc):
68 if self._use_signal:
69 signal.alarm(0)
70 signal.signal(signal.SIGALRM, self._old)
71 else:
72 self._timer.cancel()
73 return False
74
75 def _timeout_thread(self):
76 self._timed_out = True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected