Fix flickering screen after disconnect

Deleting the stream object has to be delayed until all Vulkan work is
done.
This commit is contained in:
Patrick Nicolas
2026-02-11 23:36:17 +01:00
parent 50ae773fec
commit 06d771b89e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -218,6 +218,7 @@ public:
return state_;
}
void exit();
bool alive() const
{
return !exiting;
@@ -236,7 +237,6 @@ private:
void setup(const to_headset::video_stream_description &);
void setup_reprojection_swapchain(uint32_t width, uint32_t height);
void exit();
vk::raii::QueryPool query_pool = nullptr;
bool query_pool_filled = false;