Skip to content

Commit

Permalink
Fix #230. Windows optimized builds re-orders object destruction that …
Browse files Browse the repository at this point in the history
…causes crash on UI.
  • Loading branch information
asb2m10 committed Sep 6, 2020
1 parent adece52 commit deb69c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/CartManager.cpp
Expand Up @@ -137,6 +137,8 @@ CartManager::CartManager(DexedAudioProcessorEditor *editor) : Component("CartMan

CartManager::~CartManager() {
timeSliceThread->stopThread(500);
cartBrowserList.release();
timeSliceThread.release();
}

void CartManager::paint(Graphics &g) {
Expand Down

0 comments on commit deb69c1

Please sign in to comment.