summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b9e48f2)
raw | patch | inline | side by side (parent: b9e48f2)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 4 Mar 2019 18:53:18 +0000 (21:53 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 4 Mar 2019 18:53:18 +0000 (21:53 +0300) |
src/editor/Editor.lpr | patch | blob | history |
diff --git a/src/editor/Editor.lpr b/src/editor/Editor.lpr
index e5d615625dc332d9094a59823bba66049db33924..3889b5109fd514598830302435c888ccfe509be8 100644 (file)
--- a/src/editor/Editor.lpr
+++ b/src/editor/Editor.lpr
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);