Fix destruction order to avoid memory leaks reported by VMA

This commit is contained in:
Guillaume Meunier
2024-01-28 11:33:33 +01:00
parent c0c0371dbc
commit 6976281322
5 changed files with 26 additions and 13 deletions
+5 -1
View File
@@ -38,7 +38,11 @@
static const std::string discover_service = "_wivrn._tcp.local.";
scenes::lobby::~lobby() {}
scenes::lobby::~lobby()
{
if (renderer)
renderer->wait_idle();
}
static std::string choose_webxr_profile()
{