We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41c5a24 commit edc8edcCopy full SHA for edc8edc
model-datastructure/src/commonMain/kotlin/org/modelix/model/operations/OTBranch.kt
@@ -85,6 +85,7 @@ class OTBranch(
85
override fun <T> computeWrite(computable: () -> T): T {
86
checkNotEDT()
87
return if (canWrite()) {
88
+ // Already in a transaction. Just append changes to the active one.
89
branch.computeWrite(computable)
90
} else {
91
branch.computeWriteT { t ->
0 commit comments