Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AV & Memory leak
#1
Delphi10.3.3
Intraweb v15.2.12

1.New / Other / Delphi / Intraweb / Intraweb Application Wizard
  StandAlone Application (Http.sys)
  Project Name: Test

2.program Test
  + ReportMemoryLeaksOnShutdown := True;

3.New / Other / Delphi / Intraweb / New Frame
unit Unit2;

interface

uses
  SysUtils, Classes, Controls, Forms, IWVCLBaseContainer, IWColor, IWContainer,
  IWRegion, IWHTMLContainer, IWHTML40Container;

type
  TIWFrame2 = class(TFrame)
    IWFrameRegion: TIWRegion;
    IWRegion1: TIWRegion;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

implementation

{$R *.dfm}

end.

4.Copy IWFrame2(Unit2.pas) to IWForm1(Unit1.pas)
unit Unit1;

interface

uses
  Classes, SysUtils, IWAppForm, IWApplication, IWColor, IWTypes, Vcl.Controls,
  Vcl.Forms, IWVCLBaseContainer, IWContainer, IWHTMLContainer, IWHTML40Container, Unit2;

type
  TIWForm1 = class(TIWAppForm)
    IWFrame2: TIWFrame2;
  public
  end;

implementation

{$R *.dfm}

initialization
  TIWForm1.SetAsMainForm;

end.

5.Run (F9)

6.Launch Firefox and execute application
  http://127.0.0.1:8888/

7.Shutdown
  AV...
  Memory Leak...
Reply
#2
Memory leak is direct consequence of the AV.

We are aware of this issue and a fix is already in place. We are just finishing our tests before releasing it.

Cheers,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)