mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix assertion error on window close
This commit is contained in:
parent
15d7d45b8b
commit
61fb002677
@ -547,6 +547,7 @@ void GraphicsWindow::
|
|||||||
close_window() {
|
close_window() {
|
||||||
display_cat.info()
|
display_cat.info()
|
||||||
<< "Closing " << get_type() << "\n";
|
<< "Closing " << get_type() << "\n";
|
||||||
|
_is_valid = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user