Skip to content

Commit 7e0628f

Browse files
committed
Removed accidentally added previousMutableState.release()
Signed-off-by: Ivan Malygin <[email protected]>
1 parent 5ba0454 commit 7e0628f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

platform-sdk/swirlds-state-impl/src/main/java/com/swirlds/state/merkle/StateLifecycleManagerImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ private void copyAndUpdateStateRefs(final @NonNull MerkleNodeState stateToCopy)
167167
if (previousMutableState != null) {
168168
previousMutableState.throwIfDestroyed();
169169
previousMutableState.release();
170-
previousMutableState.release();
171170
}
172171
// Do not increment the reference count because the stateToCopy provided already has a reference count of at
173172
// least

0 commit comments

Comments
 (0)