-
Notifications
You must be signed in to change notification settings - Fork 100
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
IndexedDB closure invoked recursively or after being dropped
issue
#2019
Comments
Some useful info: Seems like the problem is that The thing is that Also here are functions which are needed to take into account: |
this bug exist while calling next once like this(explained properly in my pr) komodo-defi-framework/mm2src/coins/z_coin/storage/blockdb/blockdb_idb_storage.rs Lines 90 to 98 in 272f46b
I have a fix here..that might close this issue too. can you test on your branch @laruh |
@borngraced yeah, seems like the problem occurs when we try to get only first item with next() method. This fix solves runtime error :) Good job! As you mentioned in PR description
I see that the problem was here komodo-defi-framework/mm2src/mm2_db/src/indexed_db/drivers/cursor/cursor.rs Lines 286 to 287 in 272f46b
In the CursorDriver's next loop, the |
Uncaught Error: closure invoked recursively or after being dropped
This runtime wasm error appears, when in storage implementations for wasm target we build cursor, open it, and iterate items in while loop, using next method of
CursorIter
Could be connected to this
The text was updated successfully, but these errors were encountered: