[FIR] Don't create synchronized lazy for constraint system in candidate
This commit is contained in:
@@ -85,7 +85,7 @@ class Candidate(
|
|||||||
) {
|
) {
|
||||||
|
|
||||||
var systemInitialized: Boolean = false
|
var systemInitialized: Boolean = false
|
||||||
val system: NewConstraintSystemImpl by lazy {
|
val system: NewConstraintSystemImpl by lazy(LazyThreadSafetyMode.NONE) {
|
||||||
val system = constraintSystemFactory.createConstraintSystem()
|
val system = constraintSystemFactory.createConstraintSystem()
|
||||||
system.addOtherSystem(baseSystem)
|
system.addOtherSystem(baseSystem)
|
||||||
systemInitialized = true
|
systemInitialized = true
|
||||||
|
|||||||
Reference in New Issue
Block a user