aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/enumerations/CacheAttribute.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-05-25 15:30:11 +0200
committerSamuel Tardieu <sam@rfc1149.net>2013-05-25 15:30:11 +0200
commit43a0f4dfd94e0b47a60ddddcf58561dccecbac17 (patch)
treee63ce522ff4986b2ce00b2579d0c0b73bb1e5c92 /main/src/cgeo/geocaching/enumerations/CacheAttribute.java
parentda2451acb8169ae0380341f167f9f45fa1e92f7a (diff)
downloadcgeo-43a0f4dfd94e0b47a60ddddcf58561dccecbac17.zip
cgeo-43a0f4dfd94e0b47a60ddddcf58561dccecbac17.tar.gz
cgeo-43a0f4dfd94e0b47a60ddddcf58561dccecbac17.tar.bz2
refactoring: make periodic handler use weak references
PeriodicHandler now uses weak references to keep a link to the looper that requested it. This way, it will not prevent the source from being garbage collected even though a delayed message may be queued in the handler. Also, at the next iteration, the periodic handler will notice that its starter looper has been garbage collected and will stop itself if it has not been already.
Diffstat (limited to 'main/src/cgeo/geocaching/enumerations/CacheAttribute.java')
0 files changed, 0 insertions, 0 deletions