Skip to content

Commit

Permalink
[Queue] fix synchronization issue with quitting. #1676
Browse files Browse the repository at this point in the history
  • Loading branch information
agrosner committed Feb 21, 2021
1 parent 445c520 commit 010a526
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ class DefaultTransactionQueue
continue
}

if (!isQuitting) {
transaction.executeSync()
synchronized(this) {
if (!isQuitting) {
transaction.executeSync()
}
}
}
}
Expand Down

0 comments on commit 010a526

Please sign in to comment.