Skip to content

Commit

Permalink
Fix deadlock when exporting is finished, if the project has any Sampl…
Browse files Browse the repository at this point in the history
…e TCO(s). (LMMS#3742)

[cherry-picked from stable-1.2]
  • Loading branch information
PhysSong authored and zonkmachine committed Aug 2, 2017
1 parent 81469c2 commit 6ce8ac4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/Mixer.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ class EXPORT Mixer : public QObject

friend class LmmsCore;
friend class MixerWorkerThread;
friend class ProjectRenderer;

} ;

Expand Down
3 changes: 3 additions & 0 deletions src/core/ProjectRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ce8ac4

Please sign in to comment.