recurly-js icon indicating copy to clipboard operation
recurly-js copied to clipboard

If formRef unmounts during call, recurly.token fails silently.

Open MalusGreen opened this issue 3 years ago • 1 comments

As stated here, if a race condition occurs where a form is unmounting as a call to recurly.token is running it is possible for recurly.token to fail when the formRef dissapears.

This failure produces no noticeable crashes or errors, and does not hit the callback making it difficult to trace.

MalusGreen avatar Oct 22 '21 23:10 MalusGreen

@MalusGreen Apologies for not replying sooner. We will proceed to investigate this async disconnect bug. Could you provide us with a repro code sample in order to help us clarify what is happening? Thank you!

rlew421 avatar Oct 27 '21 15:10 rlew421