Fix deadlock when exporting is finished, if the project has any Sample TCO(s). (#3742)

This commit is contained in:
Hyunjin Song
2017-08-02 14:56:28 +09:00
committed by Oskar Wallgren
parent 31126b0aa4
commit 08e64dc637
2 changed files with 4 additions and 0 deletions

View File

@@ -421,6 +421,7 @@ private:
friend class LmmsCore;
friend class MixerWorkerThread;
friend class ProjectRenderer;
} ;

View File

@@ -201,6 +201,9 @@ void ProjectRenderer::run()
}
}
// notify mixer of the end of processing
Engine::mixer()->stopProcessing();
Engine::getSong()->stopExport();
// if the user aborted export-process, the file has to be deleted