Wait for calculation thread when closing dialog
This commit is contained in:
parent
168f3beec8
commit
5387019f5f
@ -119,6 +119,9 @@ EyeDiagramDialog::EyeDiagramDialog(TraceModel &model) :
|
|||||||
|
|
||||||
EyeDiagramDialog::~EyeDiagramDialog()
|
EyeDiagramDialog::~EyeDiagramDialog()
|
||||||
{
|
{
|
||||||
|
while(updating) {
|
||||||
|
std::this_thread::sleep_for(20ms);
|
||||||
|
}
|
||||||
delete tdr;
|
delete tdr;
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user