From cffe0f5cb1bfe0bbe05ca74f99eea2eb38e08c6f Mon Sep 17 00:00:00 2001 From: Lanius Trolling Date: Sat, 10 Feb 2024 09:29:31 -0500 Subject: [PATCH] Set fairness to true --- src/jvmMain/kotlin/info/mechyrdia/lore/fonts.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jvmMain/kotlin/info/mechyrdia/lore/fonts.kt b/src/jvmMain/kotlin/info/mechyrdia/lore/fonts.kt index e4d8fda..6e27efa 100644 --- a/src/jvmMain/kotlin/info/mechyrdia/lore/fonts.kt +++ b/src/jvmMain/kotlin/info/mechyrdia/lore/fonts.kt @@ -43,7 +43,7 @@ object MechyrdiaSansFont { .deriveFont(DEFAULT_FONT_SIZE) } - private val getValueLock = ReentrantLock() + private val getValueLock = ReentrantLock(true) override fun getValue(thisRef: Any?, property: KProperty<*>): Font { return getValueLock.withLock { -- 2.25.1