Delphi 10.2 Tokyo Compatibility

This commit is contained in:
Daniele Teti 2022-07-28 08:58:27 +02:00
parent b89b2727a9
commit 8a6bd1c308

View File

@ -261,8 +261,7 @@ begin
end;
Result := nil;
var s := aJSONRPCObject.AsJSONString;
lSS := TStringStream.Create(s, TEncoding.UTF8);
lSS := TStringStream.Create(aJSONRPCObject.AsJSONString, TEncoding.UTF8);
try
lSS.Position := 0;
if Assigned(fOnSendCommand) then