appium/appium — pull request #2426 by fbai (2014-04-28 08:56:07+00:00)
Title: Update adb.js - Fix issue when iterating the entries.

Every time you call entries.pop(), the entries.length minus 1.
We should check entries.length>0 as the end of loop.