mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-01-05 08:10:06 +01:00
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()
|
||||
{
|
||||
while(updating) {
|
||||
std::this_thread::sleep_for(20ms);
|
||||
}
|
||||
delete tdr;
|
||||
delete ui;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue