TCefBaseRefCountedOwn is the base class of many CEF classes and cef_base_release_ref is called when an instance of that class is no longer used or it's set to nil manually.
It's the first time I see the 0xC000041D error code. It seems to mean STATUS_FATAL_USER_CALLBACK_EXCEPTION and it could be caused by a null pointer exception.
I would check if there's any variable or field that it's not released before closing the browsers.
If the code mixes interface variables with class variables you could have similar problems too.
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Update to CEF 79.1.36
- salvadordf
- Posts: 4572
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Update to CEF 79.1.36
Thanks for the hint ! Another one i'm getting often is this below, also when closing my app. Any hints ?

You do not have the required permissions to view the files attached to this post.
- salvadordf
- Posts: 4572
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Update to CEF 79.1.36
$C0000005 is an access violation caused for the same reason than the previous exception.
Some interface is not released before closing the application.
Some interface is not released before closing the application.
-
- Posts: 513
- Joined: Thu Aug 10, 2017 12:40 pm
Re: Update to CEF 79.1.36
The issue only happens in design time ; when i run the app outside Delphi, it will close normallysalvadordf wrote: Sun Feb 23, 2020 7:19 pm $C0000005 is an access violation caused for the same reason than the previous exception.
Some interface is not released before closing the application.
