소스 검색

fix leak of removed windows and buffers

David Rose 18 년 전
부모
커밋
b7316b8066
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      panda/src/display/graphicsEngine.cxx

+ 1 - 0
panda/src/display/graphicsEngine.cxx

@@ -663,6 +663,7 @@ render_frame() {
       }
     }
   }
+  _windows.swap(new_windows);
 
   // Now it's time to do any drawing from the main frame--after all of
   // the App code has executed, but before we begin the next frame.