Changeset 819 for cprs/branches/tmg-cprs/dklang-package-3.01
- Timestamp:
- Jul 2, 2010, 7:54:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/tmg-cprs/dklang-package-3.01/DKLang.pas
r468 r819 2271 2271 2272 2272 destructor TDKLanguageController.Destroy; 2273 begin 2274 if not (csDesigning in ComponentState) then LangManager.RemoveLangController(Self); 2273 var LM: TDKLanguageManager; //kt 2274 begin 2275 //kt original --> if not (csDesigning in ComponentState) then begin LangManager.RemoveLangController(Self); 2276 if not (csDesigning in ComponentState) then begin 2277 LM := LangManager; 2278 if Assigned(LM) then LM.RemoveLangController(Self); 2279 end; 2275 2280 FRootCompEntry.Free; 2276 2281 FIgnoreList.Free; … … 2771 2776 finalization 2772 2777 _LangManager.Free; 2778 _LangManager := nil; //kt added 2773 2779 end.
Note:
See TracChangeset
for help on using the changeset viewer.