mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
x11display: Clean up cursor filename map after freeing it
Not essential, but slightly neater
This commit is contained in:
parent
6404704ee3
commit
86a1973f89
@ -1028,6 +1028,7 @@ close_window() {
|
|||||||
for (auto item : _cursor_filenames) {
|
for (auto item : _cursor_filenames) {
|
||||||
XFreeCursor(_display, item.second);
|
XFreeCursor(_display, item.second);
|
||||||
}
|
}
|
||||||
|
_cursor_filenames.clear();
|
||||||
|
|
||||||
GraphicsWindow::close_window();
|
GraphicsWindow::close_window();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user