Skip to content

Conversation

simolus3
Copy link
Contributor

The readLock and writeLock APIs have a lockTimeout parameter to not wait on locks longer than intended. The WebDatabase implementation did not forward these arguments properly, this fixes that.

I've also removed an unused field on MutexImpl on the web and simplified the check for navigator.locks a bit.

@simolus3 simolus3 merged commit ae7dc0e into main May 22, 2025
6 checks passed
@simolus3 simolus3 deleted the fix/lock-timeouts branch May 22, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants