enginehandleclose

Issue #29 resolved
deep zero created an issue

what is the purpose of calling engine handle close? Why not call CloseHanlde() directly?

and: shouldnt this: HandleFlags!=HANDLE_FLAG_PROTECT_FROM_CLOSE)

be a flag check?

Comments (9)

  1. Carbon Monoxide

    You are right. This is a flag, the check is wrong.

    This is only useful inside the debugger loop to close non-titanengine handles. We should close all self-created handles directly with CloseHandle.

  2. Carbon Monoxide

    this is correct: (HandleFlags&HANDLE_FLAG_PROTECT_FROM_CLOSE)!=HANDLE_FLAG_PROTECT_FROM_CLOSE

  3. Log in to comment