This commit is contained in:
CortexCore
2025-08-05 23:34:10 +08:00
parent c3f0a8e840
commit 2554487fa4
23 changed files with 652 additions and 67 deletions

View File

@@ -32,6 +32,11 @@ namespace BITKit
public void Release(T newValue)
{
if (newValue is null)
{
BIT4Log.Warning<DoubleBuffer<T>>("newValue is null,please check");
}
Current = newValue;
OnRelease?.Invoke(newValue);
_release.SetValueThenAllow(newValue);