clear map and ptr after use

This commit is contained in:
Jay 2019-01-16 17:20:28 +08:00
parent 273278d322
commit a2240d01aa
1 changed files with 3 additions and 0 deletions

View File

@ -104,5 +104,8 @@ func getPriceFromAPI(pool *pool.Pool, api *apiact.TCGPlayer, groupid int) {
models.InsertCardPrice(insOpts)
cardMap = nil
prices = nil
return
}