Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensJourney committed Jul 9, 2024
1 parent e30ebf8 commit 4ba51e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sqlite_async/lib/src/web/web_mutex.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ class MutexImpl implements Mutex {
bool lockObtained = false;
if (timeout != null) {
Future.delayed(timeout, () {
isTimedOut = true;
if (lockObtained == false) {
isTimedOut = true;
completer.completeError(
TimeoutException('Failed to acquire lock', timeout));
}
Expand Down

0 comments on commit 4ba51e5

Please sign in to comment.