mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GE Debugger: Correct icon list cleanup on shutdown.
This commit is contained in:
parent
695efe3729
commit
6064b77356
1 changed files with 1 additions and 2 deletions
|
@ -204,8 +204,7 @@ GenericListControl::GenericListControl(HWND hwnd, const GenericListViewDef& def)
|
|||
}
|
||||
|
||||
GenericListControl::~GenericListControl() {
|
||||
if (images_ != nullptr)
|
||||
ImageList_Destroy((HIMAGELIST)images_);
|
||||
// Don't destroy the image list, it's done automatically by the list view.
|
||||
}
|
||||
|
||||
void GenericListControl::SetIconList(int w, int h, const std::vector<HICON> &icons) {
|
||||
|
|
Loading…
Add table
Reference in a new issue