Chrome tab crashes after ~200-300 loops
vishwarajanand opened this issue · comments
May need to end computation after a while or take pauses by implementing a setTimeout
.
For more context, read this SO link.
mozilla/pdf.js#11595 describes that we need to call .destroy()
on the await pdfjsLib.getDocument()
.
But even after doing that per branch pdf-password-cracker/issues/2
, it seems that page crashes after looping through ~200 loops.
More investigation is needed!
would like to try to work on this