Skip to content

Commit eeaa93b

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

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
@@ -485,6 +485,7 @@ void Hpi::onDoFreqOrder()
485485
msgBox.exec();
486486
return;
487487
}
488+
m_mutex.lock();
488489
m_bDoFreqOrder = true;
489490
m_mutex.unlock();
490491
}

0 commit comments

Comments
 (0)