Skip to content

Append old swapchains to the end of the old swapchains list#14

Open
charles-juicelabs wants to merge 1 commit intomain-juicefrom
charles/append-destroyed-swapchain-to-end-of-old-swapchains
Open

Append old swapchains to the end of the old swapchains list#14
charles-juicelabs wants to merge 1 commit intomain-juicefrom
charles/append-destroyed-swapchain-to-end-of-old-swapchains

Conversation

@charles-juicelabs
Copy link
Copy Markdown

Previously this code updated the front of the list to point to the latest old swapchain, dangling any other swapchains in that list. Any old swapchains weren't all destroyed in prune_old_swapchains() are then leaked.

Fixed by updating the pswap pointer until it reaches the end of the list and then inserting the latest old swapchain there.

Previously this code updated the front of the list to point to the
latest old swapchain, dangling any other swapchains in that list.  Any
old swapchains weren't all destroyed in prune_old_swapchains() are then
leaked.

Fixed by updating the pswap pointer until it reaches the end of the
list and then inserting the latest old swapchain there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant