microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.45k stars 371 forks source link

unclosed handle in Src/ResourceUploadBatch.cpp #101

Closed konai123 closed 2 years ago

konai123 commented 2 years ago

Hello! Thank you for providing such a great tool. While using this tool, I found that the Windows handle keeps increasing when many resources are uploaded. I found that the handle created for the fence event in the 'ResourceBatchUpload' was not closed, so I modified the code.

walbourn commented 2 years ago

How embarrassing :)

Thanks for the fix!