Error during the Closing Window

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Error during the Closing Window

Postby jwseo22 » Tue Nov 25, 2014 9:55 pm

hi, i'm coding related with CEF.

and I've used the CEF ClientHandler, and succeed creating a CEF Window.


But the problem is a Closing window.

When I close the window, there's error(maybe about memory leak).

But if CEF finished loading a webpage, and then I close a window, there is no error.

Error occurs when it is closed during the loading webpage.

You guys know this symptom??

sorry to fool English and I'll wait for your answer.
jwseo22
Newbie
 
Posts: 5
Joined: Tue Sep 23, 2014 12:26 am

Re: Error during the Closing Window

Postby magreenblatt » Wed Nov 26, 2014 12:11 am

Whay OS and CEF version? Does the problem reproduce with cefclient? If not how are you closing your application? What is the error message or symbolized stack trace?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Error during the Closing Window

Postby jwseo22 » Wed Nov 26, 2014 12:50 am

Now, I temporarily solved the problem by waiting loading time. (m_Handler->GetBrowser()->IsLoading()).

I think the problem is caused by MFC application. Especially it is caused After OnDestroy Function.

OS : Window8.1
CEF Version : Cef3_1639

#define CEF_VERSION_MAJOR 3
#define CEF_REVISION 1639


Error message is below,

Debug Assertion Failed!
Problem:
..\ ....
File : f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp

i dont know why it call 'wincore.cpp', even i dont have F Drive.
jwseo22
Newbie
 
Posts: 5
Joined: Tue Sep 23, 2014 12:26 am

Re: Error during the Closing Window

Postby jwseo22 » Wed Nov 26, 2014 1:03 am

and Sometime CefShutdown Function make "Project has triggered a breakpoint" error message in debug mode. and jump to OnDestroy Function on deassembly mode.

thanks!
jwseo22
Newbie
 
Posts: 5
Joined: Tue Sep 23, 2014 12:26 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 105 guests