Skip to content

Commit 753eee2

Browse files
committed
Maint: lock mutex before unlocking to avoid crash whenever coil ordering is activated
1 parent 8951300 commit 753eee2

File tree

1 file changed

+1
-0
lines changed
  • applications/mne_scan/plugins/hpi

1 file changed

+1
-0
lines changed

applications/mne_scan/plugins/hpi/hpi.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ void Hpi::onDoFreqOrder()
487487
msgBox.exec();
488488
return;
489489
}
490+
m_mutex.lock();
490491
m_bDoFreqOrder = true;
491492
m_mutex.unlock();
492493
}

0 commit comments

Comments
 (0)