Browse Source

* check LastError from CanRead()

Ondrej Pokorny 4 years ago
parent
commit
5979e464c6
1 changed files with 1 additions and 2 deletions
  1. 1 2
      packages/fcl-web/src/base/fphttpserver.pp

+ 1 - 2
packages/fcl-web/src/base/fphttpserver.pp

@@ -539,8 +539,7 @@ end;
 
 
 destructor TFPHTTPServerConnectionListHandler.Destroy;
 destructor TFPHTTPServerConnectionListHandler.Destroy;
 begin
 begin
-  FList.Free;
-
+  FreeAndNil(FList);
   inherited Destroy;
   inherited Destroy;
 end;
 end;