Browse Source
Move close(s.done) to a defer statement at the start of startCaching() to ensure the completion signal is always sent, even if an unexpected panic occurs. This prevents readers from blocking indefinitely.pull/7627/head
1 changed files with 1 additions and 3 deletions
Loading…
Reference in new issue