mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Fix memory leak
This commit is contained in:
1 parent
a9e9929a72
commit
dc94cb8b04
1 file changed
+1
@@ -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