stanford-oval / almond-android

The Almond Android App
Other
12 stars 8 forks source link

App hangs randomly until a new command is issued #84

Closed gcampax closed 5 years ago

gcampax commented 5 years ago

The nodejs main loop is not getting pumped often enough, and the app can appear to hang if the only source to wake up the loop is a resolved promise (in the microtask queue).

The code we have comes from node 6, which did not have asyncs, and it's not the same as node 8. Branch wip/fix-hang tries to fix but only results in segfault.