Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added Try/Finally pattern when locking the back buffer #3568
Added Try/Finally pattern when locking the back buffer
i noted that the lock and unlock has no safety associated with it and you could fall into having a locked backbuffer without ever releasing it. Simply added try/finally to the sample to make it more compl
Just encouraging try/finally pattern when locks are involved.
If you know who should review this, use '@' to request a review.