clear map and ptr after use
This commit is contained in:
parent
273278d322
commit
a2240d01aa
@ -104,5 +104,8 @@ func getPriceFromAPI(pool *pool.Pool, api *apiact.TCGPlayer, groupid int) {
|
|||||||
|
|
||||||
models.InsertCardPrice(insOpts)
|
models.InsertCardPrice(insOpts)
|
||||||
|
|
||||||
|
cardMap = nil
|
||||||
|
prices = nil
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user