mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 12:09:21 +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;
|
function TLHelpConnection.SendMessage(Stream: TStream): TLHelpResponse;
|
||||||
begin
|
begin
|
||||||
Result := srNoAnswer;
|
Result := srNoAnswer;
|
||||||
fServerOut.SendMessage(mtUnknown, Stream);
|
if fServerOut.Active then
|
||||||
Result := WaitForMsgResponse;
|
begin
|
||||||
|
fServerOut.SendMessage(mtUnknown, Stream);
|
||||||
|
Result := WaitForMsgResponse;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TLHelpConnection.Create;
|
constructor TLHelpConnection.Create;
|
||||||
|
Loading…
Reference in New Issue
Block a user