Browse Source

* Fix from Michl to fix bug ID #32304

git-svn-id: trunk@37000 -
michael 8 years ago
parent
commit
6513755e2e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      packages/fcl-db/src/sqldb/interbase/fbadmin.pp

+ 3 - 1
packages/fcl-db/src/sqldb/interbase/fbadmin.pp

@@ -393,8 +393,10 @@ end;
 destructor TFBAdmin.Destroy;
 begin
   if FSvcHandle<>FB_API_NULLHANDLE then
-  WaitInterval:=100;
+  begin
+    WaitInterval:=100;
     DisConnect;
+  end;
   FOutput.Destroy;
   inherited Destroy;
 end;