mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 20:39:25 +02:00
cocoa: Patch from issue #28510 autorelease pool mem leak fix
git-svn-id: trunk@49633 -
This commit is contained in:
parent
58cbaacbda
commit
b056d5b455
@ -1333,9 +1333,12 @@ begin
|
||||
begin
|
||||
Result:=RecurseSubviews(window.contentView, Point);
|
||||
if Result<>0 then
|
||||
begin
|
||||
pool.release;
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
pool.release;
|
||||
end;
|
||||
|
||||
|
@ -417,6 +417,7 @@ var
|
||||
|
||||
if not Assigned(win) then
|
||||
begin
|
||||
pool.release;
|
||||
Result := 0;
|
||||
Exit;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user