Browse Source

don't try to delete the reference-counted WindowFramework

David Rose 22 năm trước cách đây
mục cha
commit
4f8349a5bf
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      panda/src/framework/pandaFramework.cxx

+ 0 - 1
panda/src/framework/pandaFramework.cxx

@@ -261,7 +261,6 @@ open_window(const WindowProperties &props, GraphicsPipe *pipe,
   GraphicsWindow *win = wf->open_window(props, &_engine, pipe, gsg);
   if (win == (GraphicsWindow *)NULL) {
     // Oops, couldn't make an actual window.
-    delete wf;
     return NULL;
   }