Skip to content

Commit

Permalink
avoid double closing timeout channel
Browse files Browse the repository at this point in the history
  • Loading branch information
kahing committed Mar 27, 2021
1 parent a3542b1 commit 0b22270
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/goofys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ func (s *GoofysTest) deleteBucket(cloud StorageBackend) error {

func (s *GoofysTest) TearDownTest(t *C) {
close(s.timeout)
s.timeout = nil

for _, cloud := range s.removeBucket {
err := s.deleteBucket(cloud)
Expand Down

0 comments on commit 0b22270

Please sign in to comment.