mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	- Add #ifdef _DEBUG around the DebugObjCt DCHECK() calls to avoid compile errors in release build (Fix by: vridosh, Issue #1).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@20 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
		@@ -30,6 +30,7 @@ CEF_EXPORT void cef_shutdown()
 | 
			
		||||
{
 | 
			
		||||
  CefShutdown();
 | 
			
		||||
 | 
			
		||||
#ifdef _DEBUG
 | 
			
		||||
  // Check that all wrapper objects have been destroyed
 | 
			
		||||
  DCHECK(CefBrowserCppToC::DebugObjCt == 0);
 | 
			
		||||
  DCHECK(CefRequestCppToC::DebugObjCt == 0);
 | 
			
		||||
@@ -40,6 +41,7 @@ CEF_EXPORT void cef_shutdown()
 | 
			
		||||
  DCHECK(CefVariantCppToC::DebugObjCt == 0);
 | 
			
		||||
  DCHECK(CefHandlerCToCpp::DebugObjCt == 0);
 | 
			
		||||
  DCHECK(CefJSHandlerCToCpp::DebugObjCt == 0);
 | 
			
		||||
#endif // _DEBUG
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
CEF_EXPORT void cef_do_message_loop_work()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user