Skip to content

Commit

Permalink
Fix inflight queue not closing
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuradobery committed Jan 26, 2024
1 parent d148a4c commit 1367d82
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ func (s *storageYDB) shallowCopySnapshot(
s.shallowCopyInflightLimit,
)

defer inflightQueue.Close()
waitSaver := func() error { return nil }
var saverError <-chan error

Expand Down

0 comments on commit 1367d82

Please sign in to comment.