Now i'm referring to the cefclient test code and use it in MFC.
We created and tested the code which is the same as the Javascript Binding Test, but there is a remaining question. Please refer to below.
First, i created ClientHandler instance in the dialog, call CefBrowser::CreateBrowser, and create the browser. And after we repeatedly created and closed the dialog, i found the memory leak occurs. (cef version : rev149)
We printed the reference count (in the ClientV8FunctionHandler object allocated by InitBindingTest function) in HandleBeforeWindowClose. Then it is marked as being used, And only when we called CefShutdown() while closing the program, the reference count began to decrease.
Is it necessary to clear the certain object in CEF when we close the dialog?