Skip to content

Commit

Permalink
Maint: lock mutex before unlocking to avoid crash whenever coil order…
Browse files Browse the repository at this point in the history
…ing is activated
  • Loading branch information
RDoerfel committed Mar 5, 2022
1 parent cc69943 commit eeaa93b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applications/mne_scan/plugins/hpi/hpi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ void Hpi::onDoFreqOrder()
msgBox.exec();
return;
}
m_mutex.lock();
m_bDoFreqOrder = true;
m_mutex.unlock();
}
Expand Down

0 comments on commit eeaa93b

Please sign in to comment.