From 2133254e803a0d2a93e87f022ea0ec2ee33b4632 Mon Sep 17 00:00:00 2001 From: salvadordf Date: Sat, 5 Mar 2022 14:16:25 +0100 Subject: [PATCH] Release the certificate selection callback as soon as it's no longer needed --- demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas | 1 + update_CEF4Delphi.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas b/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas index b0f97b9f..5c3251ba 100644 --- a/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas +++ b/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas @@ -795,6 +795,7 @@ begin else FSelectCertCallback.Select(nil); finally + FSelectCertCallback := nil; DestroyCertificates; FreeAndNil(TempSelector); end; diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 906beee0..08d0d3ea 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 365, + "InternalVersion" : 366, "Name" : "cef4delphi_lazarus.lpk", "Version" : "99.2.9.0" }