mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 22:20:25 +02:00
lhelp: fixed crash when ServerID not set, bug #28560, patch from Stephano
git-svn-id: trunk@49701 -
This commit is contained in:
parent
6f9a817ae1
commit
ff7a247093
@ -193,7 +193,7 @@ function TLHelpConnection.ServerRunning: Boolean;
|
||||
{$IFDEF STALE_PIPE_WORKAROUND}
|
||||
{$ENDIF}
|
||||
begin
|
||||
Result := (fServerOut<>nil) and (fServerOut.ServerRunning);
|
||||
Result := (fServerOut<>nil) and (fServerOut.ServerID <> '') and (fServerOut.ServerRunning);
|
||||
{$IFDEF STALE_PIPE_WORKAROUND}
|
||||
if not Result then
|
||||
Exit; // ==>
|
||||
|
Loading…
Reference in New Issue
Block a user