renderer: destroy surface in main thread

This commit is contained in:
itsmattkc
2020-11-25 08:59:14 +11:00
parent 1254726079
commit 0eda91a0cb
7 changed files with 21 additions and 6 deletions
+1
View File
@@ -75,6 +75,7 @@ RenderManager::~RenderManager()
delete still_cache_;
context_->Destroy();
context_->PostDestroy();
delete context_;
}
}