Add destructor to Machine_info class to fix segfault

This commit is contained in:
Simon De Backer 2020-10-19 16:56:09 +02:00 committed by Martin Marmsoler
parent 9658a88c18
commit dad32d5897
2 changed files with 10 additions and 1 deletions

View File

@ -147,7 +147,15 @@ void Machine_info::send_info_to_debug()
+ " x "
+ QString::number(pc.screen.height[ii])
+ " )";
}
}
}
/**
@brief Machine_info::~Machine_info
destructor
*/
Machine_info::~Machine_info()
{
}
/**

View File

@ -34,6 +34,7 @@ public:
int32_t i_max_screen_height();
QString compilation_info();
void send_info_to_debug();
~Machine_info();
signals: