Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReplace unwrap/expect when sending messages for IndexedDB #25321
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Failing to send a message to the thread that starts a
SyncOperationshould not take down the whole idb thread, instead we should just fire some warnings usingwarn!.To clarify
Change:
sender.send(result).unwrap() or sender.send(result).expect(...);to something like this:
Files:
components\net\indexeddb\idb_thread.rs