(self)
| 57 | stop_event_task.cancel() |
| 58 | |
| 59 | def start(self): |
| 60 | started = threading.Event() |
| 61 | self.thread = threading.Thread( |
| 62 | target=self._start_thread, args=(started,)) |
| 63 | self.thread.start() |
| 64 | if not started.wait(timeout=2): |
| 65 | raise RuntimeError('fuzzer proxy failed to start') |
| 66 | |
| 67 | def stop(self): |
| 68 | self.loop.call_soon_threadsafe(self._stop) |
no test coverage detected