Changeset 38 for trunk/UCore.pas
- Timestamp:
- Mar 8, 2012, 3:40:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r37 r38 16 16 CoolTranslator1: TCoolTranslator; 17 17 DebugLog1: TDebugLog; 18 SqlDatabase1: TSqlDatabase;19 18 procedure DataModuleCreate(Sender: TObject); 20 19 procedure DataModuleDestroy(Sender: TObject); … … 56 55 System := TChronisBase.Create; 57 56 System.Client := TChronisClientMySQL.Create; 58 TChronisClientMySQL(System.Client).Database := SqlDatabase1;57 //TChronisClientMySQL(System.Client).Database := SqlDatabase1; 59 58 System.RegisterModule(TModuleSystem); 60 59 System.ModuleSystem := TModuleSystem(System.Modules.Last); … … 68 67 begin 69 68 SaveToRegistry; 70 System.Free;71 Profiles.Free;69 FreeAndNil(System); 70 FreeAndNil(Profiles); 72 71 end; 73 72
Note:
See TracChangeset
for help on using the changeset viewer.