You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-12-13 21:45:55 +02:00
Fixed possible access violation in Lazarus_Linux_QT6/SimpleBrowser
This commit is contained in:
@@ -174,7 +174,7 @@ begin
|
||||
FClosing := True;
|
||||
Visible := False;
|
||||
Chromium1.CloseBrowser(True);
|
||||
CEFLinkedWindowParent1.Free;
|
||||
FreeAndNil(CEFLinkedWindowParent1);
|
||||
end;
|
||||
end;
|
||||
{%Endregion}
|
||||
@@ -219,7 +219,8 @@ end;
|
||||
|
||||
procedure TMainForm.BrowserSetFocusMsg(Data: PtrInt);
|
||||
begin
|
||||
CEFLinkedWindowParent1.SetFocus;
|
||||
if assigned(CEFLinkedWindowParent1) then
|
||||
CEFLinkedWindowParent1.SetFocus;
|
||||
end;
|
||||
|
||||
procedure TMainForm.WMMove(var Message: TLMMove);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"UpdateLazPackages" : [
|
||||
{
|
||||
"ForceNotify" : true,
|
||||
"InternalVersion" : 799,
|
||||
"InternalVersion" : 800,
|
||||
"Name" : "cef4delphi_lazarus.lpk",
|
||||
"Version" : "140.1.14"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user