Skip to content

Commit

Permalink
Non-interruptible lock acquisition (#3980)
Browse files Browse the repository at this point in the history
  • Loading branch information
phearnot authored Dec 13, 2024
1 parent 663db56 commit 7b3bb0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class BlockchainUpdaterImpl(
import wavesSettings.blockchainSettings.functionalitySettings

private def inLock[R](l: Lock, f: => R): R = {
l.lockInterruptibly()
l.lock()
try f
finally l.unlock()
}
Expand Down

0 comments on commit 7b3bb0e

Please sign in to comment.