New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pause and resume (In a quick succession) gets you lot of exceptions and an infinite loop #636
Comments
varunsharma27
added a commit
to varunsharma27/PapaParse
that referenced
this issue
Feb 19, 2019
…ou lot of exceptions and an infinite loop
Having the same issue after trying to pause and resume the parser within each step |
varunsharma27
added a commit
to varunsharma27/PapaParse
that referenced
this issue
Feb 19, 2019
I found that calling pause and resume in a promise chain resolved this issue for me.
|
@yew2993 The issue is fixed in the PR, currently waiting merge. It happens because resume is not waiting for previous pause to halt the parsing before continuing again. |
pokoli
pushed a commit
that referenced
this issue
Mar 19, 2019
…exceptions and an infinite loop (#637)
I've merged the PR so it should work correctly on master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doing pause and resume (In a quick succession) on demo gets you lot of exceptions :-
And if you choose to handle them, like this :-
Then you get into an infinite loop with the same data.
It appears that resume should be waiting for previous pause to halt the parsing before continuing again.
It appears this wasn't the case before since Issue #321 talks about doing this to produce another bug (Cursor related).
I am using :-
Papa.LocalChunkSize = 10485
Otherwise you get :-
The text was updated successfully, but these errors were encountered: