Skip to content

Commit

Permalink
Unset dsp paths when objects are removed
Browse files Browse the repository at this point in the history
  • Loading branch information
sdatkinson committed Jan 3, 2023
1 parent fa75f12 commit 0597392
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NeuralAmpModeler/NeuralAmpModeler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,13 @@ void NeuralAmpModeler::_ApplyDSPStaging()
// Remove marked modules
if (this->mFlagRemoveDSP) {
this->mDSP = nullptr;
this->mModelPath.Set("");
this->_UnsetModelMsg();
this->mFlagRemoveDSP = false;
}
if (this->mFlagRemoveIR) {
this->mIR = nullptr;
this->mIRFileName.Set("");
this->_UnsetIRMsg();
this->mFlagRemoveIR = false;
}
Expand Down

0 comments on commit 0597392

Please sign in to comment.