diff --git a/YDotNet/Document/Types/Texts/Text.cs b/YDotNet/Document/Types/Texts/Text.cs index 3607e300..2ae1515c 100644 --- a/YDotNet/Document/Types/Texts/Text.cs +++ b/YDotNet/Document/Types/Texts/Text.cs @@ -42,7 +42,7 @@ public void Insert(Transaction transaction, uint index, string value, Input? att TextChannel.Insert(Handle, transaction.Handle, index, valueHandle, attributesHandle); MemoryWriter.TryRelease(attributesHandle); - MemoryWriter.TryRelease(valueHandle); + MemoryWriter.Release(valueHandle); } ///