diff --git a/nextline/spawned/runner.py b/nextline/spawned/runner.py index 524b302a..728777a2 100644 --- a/nextline/spawned/runner.py +++ b/nextline/spawned/runner.py @@ -25,7 +25,7 @@ def _compile_and_run(hook: PluginManager) -> RunResult: return RunResult(ret=None, exc=exc) trace_func = hook.hook.create_trace_func() try: - with sys_trace(trace_func=trace_func): + with sys_trace(trace_func=trace_func, thread=False): ret = func() return RunResult(ret=ret, exc=None) except BaseException as exc: