You've already forked lazarus-ccr
* Fixed mem-leaks in designer. If there are instances created, release them. Even in csDesigning mode. (which is not always set already at creation)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1467 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1070,17 +1070,16 @@ begin
|
||||
{$IFDEF DEBUG}
|
||||
OutputDebugString('TGeckoBrowser.Destroy');
|
||||
{$ENDIF}
|
||||
if not (csDesigning in ComponentState) then
|
||||
begin
|
||||
|
||||
if assigned(FDesignTimeLogo) then
|
||||
FreeAndNil(FDesignTimeLogo);
|
||||
ShutdownWebBrowser;
|
||||
ShutdownWebBrowser;
|
||||
|
||||
Chrome := nil;
|
||||
Listener := nil;
|
||||
Chrome := nil;
|
||||
Listener := nil;
|
||||
|
||||
if FGeckoComponentsStartupSucceeded then
|
||||
GeckoComponentsShutdown;
|
||||
end;
|
||||
if FGeckoComponentsStartupSucceeded then
|
||||
GeckoComponentsShutdown;
|
||||
|
||||
inherited;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user