neuroanatomy/BrainBox

BrainBox client keeps polling for download even if an error is returned

Opened this issue · 0 comments

The problem appears, for example, when downloading a file from a google drive link, and google refuses to directly send the file requiring user interaction instead.

The bug is in function _requestMRIInfo. the setInterval timer is never actually cleared. It should be probably replaced by a setTimeout, which is called only if the server answers that it is still downloading.