Avoid the crash if used in a simulator
This commit is contained in:
@@ -32,6 +32,11 @@ class MainWindow: public Window {
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~MainWindow() override
|
||||||
|
{
|
||||||
|
children.clear();
|
||||||
|
}
|
||||||
|
|
||||||
#if defined(DEBUG_WINDOWS)
|
#if defined(DEBUG_WINDOWS)
|
||||||
std::string getName() const override
|
std::string getName() const override
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user