blackberry-webworks/WebWorks — comment on commit 235d6526d4efcad59351dc8c0a2593da4ef685f9
File:  line 0
By tohman:

In that case the app will freeze if called from UI Event Dispatch Thread, since there is no checking condition for that. (isEventThread).