Fix f6d5c01
: Delay deletion when closing windows
This commit is contained in:
@@ -1095,7 +1095,12 @@ SmallMapWindow::SmallMapWindow(WindowDesc *desc, int window_number) : Window(des
|
||||
SmallMapWindow::~SmallMapWindow()
|
||||
{
|
||||
delete this->overlay;
|
||||
}
|
||||
|
||||
/* virtual */ void SmallMapWindow::Close()
|
||||
{
|
||||
this->BreakIndustryChainLink();
|
||||
this->Window::Close();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user