close tracker pool connections & some style changes

This commit is contained in:
Jimmy Zelinskie
2014-07-21 03:58:07 -04:00
parent e78dc74990
commit 6b260b7352
5 changed files with 31 additions and 22 deletions

View File

@@ -102,5 +102,7 @@ func purgeInactivePeers(p Pool, purgeEmptyTorrents bool, threshold, interval tim
if err != nil {
glog.Errorf("Error purging torrents: %s", err)
}
conn.Close()
}
}