mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 02:27:58 +01:00
9d626bf787
Instead of marking the handle as not running by setting the handler's value in the map to false, we now remove simply the key if there is no handler running. This also means we no longer need to use a weak hash map for this. Also reduce the size of the synchronized blocks, mainly by scheduling the handler outside of the synchronized(threadActiveMap) block. Make some code better readable and add some more comments. Also do start a new handler thread if the task threw. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.gradle |