From 70be6c73688c5d61c0c9f956d5ea7f413aec98bf Mon Sep 17 00:00:00 2001 From: Martin Evans Date: Thu, 24 Aug 2023 17:08:01 +0100 Subject: [PATCH] Removed `virtual` method in newly sealed class --- LLama/LLamaContext.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/LLama/LLamaContext.cs b/LLama/LLamaContext.cs index 05c31d16..159c641c 100644 --- a/LLama/LLamaContext.cs +++ b/LLama/LLamaContext.cs @@ -493,10 +493,8 @@ namespace LLama } /// - public virtual void Dispose() + public void Dispose() { - GC.SuppressFinalize(this); - _ctx.Dispose(); }