We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3b4091 commit ffcc627Copy full SHA for ffcc627
main.go
@@ -292,10 +292,8 @@ func main() {
292
}
293
}()
294
295
- // Send the worker shutdown signal for each worker thread to read
296
- workerShutdownChan <- true
297
298
+ // Close the channel, signalling to the worker threads to shutdown.
+ close(workerShutdownChan)
299
300
// Wait for all workers to finish their tasks.
301
// Otherwise we end up getting flushed file saves incomplete.
0 commit comments