Fixed protected mutable Exchange
This commit is contained in:
@@ -259,7 +259,7 @@ begin
|
|||||||
Lock;
|
Lock;
|
||||||
try
|
try
|
||||||
Assert(FMutable.Writer <> nil);
|
Assert(FMutable.Writer <> nil);
|
||||||
FMutable.Writer.Exchange(Value);
|
Result := FMutable.Writer.Exchange(Value);
|
||||||
finally
|
finally
|
||||||
Release;
|
Release;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Reference in New Issue
Block a user