Closed GoogleCodeExporter closed 9 years ago
Original comment by vale...@google.com
on 7 May 2014 at 7:14
[deleted comment]
Is there any update to this? It really makes sense to be able to clean them up.
A nice option would be to have one-shot idle resources, meaning that you
register them, and they get unregistered as soon as they hit idle (Good for
when you just want to sync until something finishes loading, and after that
loads that reource won't be doing extra job any more).
For now I suppose the only "work-around" is to provide "pseudo-random" names so
espresso doesn't discard the new ones, or preparing a framework where your idle
resource contains actually several of those, and implementing the methods as an
aggregate of the contained idle resources (Kinda like an "idle resource pool"
which is similar to what the system is doing on a higher level I suppose).
Original comment by sergio.t...@corp.badoo.com
on 28 Nov 2014 at 10:45
Unregistering will be included in the next Espresso release (don't know when
that will be though)
Original comment by stefano....@jimdo.com
on 28 Nov 2014 at 12:32
Fixed in Espresso 2.0
Original comment by vale...@google.com
on 20 Dec 2014 at 4:33
Original issue reported on code.google.com by
stefano....@gmail.com
on 2 Apr 2014 at 9:56