We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
setItem not callback
setItem
setItem callback
when excute mReactDatabaseSupplier.get().setTransactionSuccessful();, I found get() not enter。it‘s block,maybe not get lock。
mReactDatabaseSupplier.get().setTransactionSuccessful();
get()
lock
run it, show the log。mReactDatabaseSupplier.get() not log get lock AsyncTask #1,it‘s block。
mReactDatabaseSupplier.get()
get lock AsyncTask #1
Lock
synchronized
it's ok。
The text was updated successfully, but these errors were encountered:
@anthinkingcoder Hey, thanks for the insight. We had similar issue before, hence we created Dedicated Executor pool for this case. Can you give it a try?
Sorry, something went wrong.
@krizzu I tried this method, but I found it was not possible。Only changing the lock mechanism can solve my problem。
This issue has been marked as stale due to inactivity. Please respond or otherwise resolve the issue within 7 days or it will be closed.
No branches or pull requests
Current behavior
setItem
not callbackExpected behavior
setItem
callbackRepro steps
when excute
mReactDatabaseSupplier.get().setTransactionSuccessful();
,I found
get()
not enter。it‘s block,maybe not getlock
。run it, show the log。

mReactDatabaseSupplier.get()
not logget lock AsyncTask #1
,it‘s block。Lock
instead ofsynchronized
get()
ensureDatabase()
it's ok。

Environment
The text was updated successfully, but these errors were encountered: