diff options
-rw-r--r-- | crawler.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -266,6 +266,7 @@ func (c *Crawler) urlHandler(queue <-chan queuePair) { if httpErr == nil { httpResp.Body.Close() // nolint } + tmpFile.Close() os.Remove(tmpFile.Name()) wb := new(leveldb.Batch) |