1
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user