mirror of
https://github.com/xenia-project/xenia.git
synced 2026-01-10 02:30:27 +01:00
Although this seems counter-intuitive, operating on handle reference counters in - ObLookupThreadByThreadId - ObReferenceObjectByHandle - ObDereferenceObject allows to cleanly clean up handles for resources created elsewhere and destructed by ObDereferenceObject (for example, threads with 0x80 creation flag). Operating on pointer reference counters alone would leave a stray handle in the slots list. |
||
|---|---|---|
| .. | ||
| xenia | ||