X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-editor.git;a=blobdiff_plain;f=src%2Feditor%2FEditor.lpr;h=3889b5109fd514598830302435c888ccfe509be8;hp=e5d615625dc332d9094a59823bba66049db33924;hb=91e1fe7e58aec7404a6029cb757dbe27677ebbb6;hpb=b9e48f22d4c3357a3f14c47a4ec7151d811e9a12 diff --git a/src/editor/Editor.lpr b/src/editor/Editor.lpr index e5d6156..3889b51 100644 --- a/src/editor/Editor.lpr +++ b/src/editor/Editor.lpr @@ -78,6 +78,13 @@ begin Application.AddOnExceptionHandler(H.ExceptionHandler, True); Application.Initialize(); +{$IF DECLARED(UseHeapTrace)} + (* http://wiki.freepascal.org/heaptrc *) + GlobalSkipIfNoLeaks := True; + //SetHeapTraceOutput('EditorLeaks.log'); + //HaltOnError := False; +{$ENDIF} + Application.CreateForm(TMainForm, MainForm); Application.CreateForm(TOptionsForm, OptionsForm); Application.CreateForm(TAboutForm, AboutForm);