Browse Source

* If InitDebugClient fails, do not try to write a debug-message

git-svn-id: trunk@11843 -
joost 17 years ago
parent
commit
b7f07f8144
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-process/src/dbugintf.pp

+ 1 - 1
packages/fcl-process/src/dbugintf.pp

@@ -86,7 +86,7 @@ begin
   if DebugDisabled then exit;
   if DebugDisabled then exit;
   try
   try
     If (DebugClient=Nil) then
     If (DebugClient=Nil) then
-      InitDebugClient;
+      if InitDebugClient = false then exit;
     if (Indent>0) then
     if (Indent>0) then
       Msg.Msg:=StringOfChar(' ',Indent)+Msg.Msg;
       Msg.Msg:=StringOfChar(' ',Indent)+Msg.Msg;
     WriteMessage(Msg);
     WriteMessage(Msg);