{"push_id":1061378980,"size":1,"distinct_size":1,"ref":"refs/heads/addPINAnimatedImage","head":"54c9b976886bf05805a3ad702afb398239706b69","before":"e3d2e07ae76c0cc1fa8433ea5829815779d68f7a","commits":[{"sha":"54c9b976886bf05805a3ad702afb398239706b69","author":{"email":"3d16c00ea5e6ea0de3ce0a04724885f2fc30401a@pinterest.com","name":"Garrett Moon"},"message":"Better clearing of memory mapped files.\n\nFirst, prevents a memory leak if users reference self in their PINAnimatedImage completions.\n\nSecond, this deletes decoded files when there are no more references to an animated image.\nPreviously we deleted on app open and exit.\n\nI wasn't going to do this in case you closed a GIF and then reopened, but the more I\nthought about it the cost is too high: A user can see their disk size balloon if they view\na bunch of GIFs and then check usage. They could also fill up their space enough while using\nthe app by viewing GIF after GIF that instability could result.","distinct":true,"url":"https://api.github.com/repos/pinterest/PINRemoteImage/commits/54c9b976886bf05805a3ad702afb398239706b69"}]}