From 7d154ea4d412794d6bc58cc617dc4195ae543624 Mon Sep 17 00:00:00 2001 From: edmand46 Date: Fri, 13 Oct 2023 11:02:56 +0300 Subject: [PATCH] :art: cleanup --- Ragon.Client/Sources/Entity/RagonEntity.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Ragon.Client/Sources/Entity/RagonEntity.cs b/Ragon.Client/Sources/Entity/RagonEntity.cs index c0cfce5..e2915c9 100644 --- a/Ragon.Client/Sources/Entity/RagonEntity.cs +++ b/Ragon.Client/Sources/Entity/RagonEntity.cs @@ -41,6 +41,10 @@ namespace Ragon.Client { _callbacks.Remove(_callback); _localCallbacks.Remove(_callback); + + _callbacks = null!; + _localCallbacks = null!; + _callback = null!; } }