I'm implementing an off screen rendering system using SDL and OpenGL and so far it's working great. The only hiccup that I've not been able to find a solution for is reported memory leaks on shutdown.
In Debug mode, the leak messages aren't always the same, but there is always a WebCoreNode in the list.
For example,
LEAK: 2 XMLHttpRequest
LEAK: 42 Resource
LEAK: 2108 WebCoreNode
I'm creating the browser via CefBrowserHost::CreateBrowserSync( ... ), then calling brower->GetHost()->CloseBrowser(true) on the instance from CreateBrowserSync. Is there anything else that I need to do or any other methods that I need to override to properly destroy the browser instance? I know it has something to do with CreateBrowserSync, as commenting it out removes the leak messages.
Is this problem related to this discussion? Where V8 purposely leaks memory.
I'll be happy to share more context on my code if needed.
Thanks!