Browse Source

* Disable debug define

Michaël Van Canneyt 3 years ago
parent
commit
687ab895c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-base/src/fpthreadpool.pp

+ 2 - 2
packages/fcl-base/src/fpthreadpool.pp

@@ -1,7 +1,7 @@
  unit fpthreadpool;
  unit fpthreadpool;
 
 
 {$mode ObjFPC}{$H+}
 {$mode ObjFPC}{$H+}
-{$DEFINE DEBUGTHREADPOOL}
+{ $DEFINE DEBUGTHREADPOOL}
 
 
 interface
 interface
 
 
@@ -308,6 +308,7 @@ Procedure DoLog(Const Fmt : String; Const Args : Array of const);
 begin
 begin
   DoLog(Format(Fmt,Args))
   DoLog(Format(Fmt,Args))
 end;
 end;
+{$ENDIF}
 
 
 { TFPCustomSimpleThreadPool.TAbstractThreadList }
 { TFPCustomSimpleThreadPool.TAbstractThreadList }
 
 
@@ -316,7 +317,6 @@ begin
   FPool:=aPool;
   FPool:=aPool;
 end;
 end;
 
 
-{$ENDIF}
 
 
 { TFPCustomSimpleThreadPool.TAutoCheckQueueThread }
 { TFPCustomSimpleThreadPool.TAutoCheckQueueThread }