mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 16:24:53 +02:00
Fix memory leak
This commit is contained in:
@@ -38,6 +38,7 @@ ThreadManager::~ThreadManager() {
|
||||
}
|
||||
for (size_t i = 0; i < global_->threads_.size(); i++) {
|
||||
global_->threads_[i]->thread.join();
|
||||
delete global_->threads_[i];
|
||||
}
|
||||
global_->threads_.clear();
|
||||
delete global_;
|
||||
|
||||
Reference in New Issue
Block a user