Browse Source

kill crash when you logout to pick a toon then choose a diff toon

Redmond Urbino 16 năm trước cách đây
mục cha
commit
d8c08f5170
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      panda/src/awesomium/awWebCore.cxx

+ 2 - 1
panda/src/awesomium/awWebCore.cxx

@@ -21,11 +21,12 @@ TypeHandle AwWebCore::_type_handle;
 AwWebCore::
 AwWebCore(AwWebCore::LogLevel level, bool enablePlugins , AwWebCore::PixelFormat pixelFormat) :
   WebCore(static_cast<Awesomium::LogLevel>(level), enablePlugins, static_cast<Awesomium::PixelFormat>(pixelFormat)) {  
-  awesomium_cat.info() << "constructing webcore";
+  awesomium_cat.info() << "constructing webcore\n";
 }
 
 AwWebCore::
 ~AwWebCore() {
+  awesomium_cat.info() << "destructor webcore\n";
 }
 
 Awesomium::WebCore& AwWebCore::