You are not logged in.
Pages: 1
Create the package that contains:
requires
designide,
adortl,
rtl;
contains
SynCommons in '..\..\Components\mORMot\SynCommons.pas';
every time I'm closing Delphi an exception occurs.
I tried to find out the line of code that could raise an error and found a leak in initialization part:
DocVariantType := TDocVariant(SynRegisterCustomVariantType(TDocVariant));
I suppose that we should free up that object in finalization?
Offline
OK,
I've added FreeAndNil(DocVariantType) to the finalization because exceptions on Delphi closing was extremely annoying.
Offline
Pages: 1