3 ms·
We use this internally to help prevent leaks: https://github.com/Microsoft/wil/wiki/RAII-resource-wrappers https://github.com/Microsoft/wil/wiki/RAII-resource-
by fassssst 5y ago
We use this internally to help prevent leaks:
https://github.com/Microsoft/wil/wiki/RAII-resource-wrappers https://github.com/Microsoft/wil/wiki/RAII-resource-wrappers
- ddulaney 5y agoThat's an awesome set of tools! I've written much jankier versions of these myself, and I'll definitely look into using the official ones. That said, I don't know that they would have helped in the article's case. It looks like there was a higher-level resource getting leaked, which would also most likely leak these.
- mad_vill 5y agoah I didn't know we opensourced wil. sweet.
- minedwiz 5y agoThink it was around the same time as terminal