aboutsummaryrefslogtreecommitdiff
path: root/crawler.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler.go')
-rw-r--r--crawler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawler.go b/crawler.go
index d162330..f2a8968 100644
--- a/crawler.go
+++ b/crawler.go
@@ -319,6 +319,7 @@ func (c *Crawler) Run(concurrency int) {
wg.Wait()
}
+// Close the database and release resources associated with the crawler state.
func (c *Crawler) Close() {
c.db.Close()
}