jinzhu/vrome — comment on commit f8861440fcb1063fc89703f05be152238732c83e
File: src/frontend/modules/search.js line 139
By YorikSar:

Ah, wait... You enter to handleInput(), then enter to remove(), then set timeout to call remove() one more time, then process all nodes, then calculate estimate and return it, then wait for this time (while this happen, remove() is called from timer one more time) and finally call find()...
The logic is broken here.