diff --git a/README.md b/README.md index c3400ec0..8f9f4d76 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The CEF binaries used by CEF4Delphi are available for download at spotify : * [64 bits](http://opensource.spotify.com/cefbuilds/cef_binary_83.4.2%2Bgc8d4f85%2Bchromium-83.0.4103.106_windows64.tar.bz2) -CEF4Delphi was developed and tested on Delphi 10.4 and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2, Delphi 10.3 and Lazarus 2.0.8/FPC 3.0.4. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components. +CEF4Delphi was developed and tested on Delphi 10.4 and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2, Delphi 10.3 and Lazarus 2.0.10/FPC 3.2.0. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components. ## Links * [Installation instructions and more information about CEF4Delphi](https://www.briskbard.com/index.php?lang=en&pageid=cef) diff --git a/source/uCEFChromiumCore.pas b/source/uCEFChromiumCore.pas index 1560bf49..a9f50d3f 100644 --- a/source/uCEFChromiumCore.pas +++ b/source/uCEFChromiumCore.pas @@ -1423,8 +1423,13 @@ end; procedure TChromiumCore.DestroyMediaObserver; begin - FMediaObserver := nil; FMediaObserverReg := nil; + + if (FMediaObserver <> nil) then + begin + FMediaObserver.DestroyOtherRefs; + FMediaObserver := nil; + end; end; procedure TChromiumCore.CreateMediaObserver; @@ -1436,8 +1441,13 @@ end; procedure TChromiumCore.DestroyDevToolsMsgObserver; begin - FDevToolsMsgObserver := nil; FDevToolsMsgObserverReg := nil; + + if (FDevToolsMsgObserver <> nil) then + begin + FDevToolsMsgObserver.DestroyOtherRefs; + FDevToolsMsgObserver := nil; + end; end; procedure TChromiumCore.CreateDevToolsMsgObserver; diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 0b8c73bd..ac47dd51 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 157, + "InternalVersion" : 158, "Name" : "cef4delphi_lazarus.lpk", "Version" : "83.4.2.0" }