You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resource leak when rotating the screen on Android with Impeller/Vulkan #190114
Debugged this and found that the leak is coming from KHRSwapchainVK.
When the window changes its size, KHRSwapchainVK::AcquireNextDrawable was calling vkAcquireNextImageKHR but never presenting the acquired image.
KHRSwapchainVK::AcquireNextDrawable would then call vkDestroySwapchainKHR on the swapchain associated with the old size. But vkDestroySwapchainKHR requires completion of all operations on images acquired from the swapchain before destroying the swapchain. The extra image that was acquired but not presented apparently resulted in leaks.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[Impeller] Do not acquire an unneeded image in KHRSwapchainVK if the …
[Impeller] Do not acquire an unneeded image in KHRSwapchainVK if the …
github-actions commentedon Aug 14, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.