mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-24 08:02:15 +02:00
ResponseFilterBrowser : reset vars after using the stream contents
This commit is contained in:
parent
fe2b80f3a0
commit
d998a912b0
@ -229,10 +229,16 @@ procedure TResponseFilterBrowserFrm.StreamCopyCompleteMsg(var aMessage : TMessag
|
||||
begin
|
||||
try
|
||||
FStreamCS.Acquire;
|
||||
|
||||
FStream.Seek(0, soBeginning);
|
||||
|
||||
Memo1.Lines.Clear;
|
||||
Memo1.Lines.LoadFromStream(FStream);
|
||||
|
||||
FStream.Clear;
|
||||
|
||||
FRscSize := 0;
|
||||
FRscCompleted := False;
|
||||
finally
|
||||
FStreamCS.Release;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user