mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-07-03 14:05:26 +02:00
253fdac48c
The drain/put approach used get_nowait() and put_nowait(). Each put_nowait() increments _unfinished_tasks without a corresponding task_done(), permanently inflating the counter on every invocation. Revert to reading the internal deque directly (list(self._queue._queue)) which does not mutate any queue state. This matches the approach used in remove_from_queue. Co-authored-by: Ali Khokhar <alishahryar2@gmail.com>