OSDN Git Service

BoardGroupがpluginまで開放するように変更
authorh677 <h677>
Sat, 25 Jun 2005 13:01:10 +0000 (13:01 +0000)
committerh677 <h677>
Sat, 25 Jun 2005 13:01:10 +0000 (13:01 +0000)
BoardGroup.pas

index 17739a9..571747f 100644 (file)
@@ -1960,10 +1960,19 @@ var
        i       : Integer;
 begin
        for i := Self.Count - 1 downto 0 do begin
-       TBoard(Self.Objects[i]).Free;
+               try
+                       TBoard(Self.Objects[i]).Free;
+               except
+               end;
     end;
     inherited Clear;
-    Self.Capacity := 0;
+       Self.Capacity := 0;
+       try
+               if FBoardPlugIn <> nil then
+                       FBoardPlugIn.Free;
+       except
+       end;
+
 end;