mirror of
https://github.com/rclone/rclone.git
synced 2026-11-07 02:02:53 -05:00
When a Drive listing error closed the ListR input while directories were still in the overflow queue, the overflow goroutine sent on that nil channel while holding the mutex. The main loop then blocked on the same mutex, so the sync never returned the error. refillListRInput now stops when the input is already closed, and it does not add those jobs to the wait group. Fixes #10069