<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> yup. and if a debugger is attached to the process then anything doing ZwClose on an invalid handle will raise a STATUS_INVALID_HANDLE exception.</p>