Commit b24accf
refactor: inline
The `reader` local served only to call `.start()` — the thread is
never joined explicitly because termination is signalled through the
queue's None sentinel and the daemon flag. Collapsing into the
fluent `Thread(...).start()` form matches the fire-and-forget intent
and drops an unused binding.
Python's `threading` module keeps live threads reachable via
`threading._active`, so dropping the local reference does not affect
thread lifetime.
Co-authored-by: Ralphify <noreply@ralphify.co>reader thread handle in _read_agent_stream
1 parent 1188288 commit b24accf
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
346 | | - | |
| 345 | + | |
347 | 346 | | |
348 | 347 | | |
349 | 348 | | |
| |||
0 commit comments