lhelp: fixed crash when ServerID not set, bug #28560, patch from Stephano

git-svn-id: trunk@49701 -
This commit is contained in:
mattias 2015-08-23 08:15:06 +00:00
parent 6f9a817ae1
commit ff7a247093

View File

@ -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; // ==>