mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:59:31 +02:00
* LHelp: harden message sending. Patch by Mike Thompson.
git-svn-id: trunk@46342 -
This commit is contained in:
parent
a05b8d84a9
commit
13fcf53a0d
@ -130,8 +130,11 @@ end;
|
||||
function TLHelpConnection.SendMessage(Stream: TStream): TLHelpResponse;
|
||||
begin
|
||||
Result := srNoAnswer;
|
||||
fServerOut.SendMessage(mtUnknown, Stream);
|
||||
Result := WaitForMsgResponse;
|
||||
if fServerOut.Active then
|
||||
begin
|
||||
fServerOut.SendMessage(mtUnknown, Stream);
|
||||
Result := WaitForMsgResponse;
|
||||
end;
|
||||
end;
|
||||
|
||||
constructor TLHelpConnection.Create;
|
||||
|
Loading…
Reference in New Issue
Block a user