Fixed preload page getting stuck in zombie state on error #691
parent
e82aa3cec0
commit
61363d1633
|
@ -58,6 +58,11 @@ PreloadPage::PreloadPage(wxWindow* parent, const char* action, const char* id) :
|
|||
this->setParentSize(-1, 120);
|
||||
}
|
||||
|
||||
void PreloadPage::onError(gcException &e)
|
||||
{
|
||||
this->GetParent()->Close();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -37,6 +37,8 @@ class PreloadPage : public BaseInstallPage
|
|||
public:
|
||||
PreloadPage(wxWindow* parent, const char* action, const char* id);
|
||||
virtual void init(){};
|
||||
|
||||
void onError(gcException &e) override;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue