Delete URL queues after crawling

This commit is contained in:
Richard Patel
2018-11-20 03:05:43 +01:00
parent 4f3140a39f
commit b846498030
2 changed files with 22 additions and 9 deletions

View File

@@ -160,6 +160,8 @@ func (o *OD) handleCollect(results chan File, f *os.File, collectErrC chan error
// Wait for all jobs on remote to finish
o.Wait.Wait()
// Close queue
if err := o.WCtx.Queue.Close(); err != nil {
panic(err)
}