• Connor McAdams's avatar
    combase: Omit thread ID from the stub manager ipid for MTA objects. · 00c8117a
    Connor McAdams authored
    It is possible for a thread that creates an MTA to call
    CoUninitialize() and not destroy the MTA if another thread has
    entered the MTA in the meantime. If the original thread then creates
    an STA, subsequent attempts to find the MTA with 'apartment_findfromtid'
    will get the original thread's STA. To avoid this, don't set a TID value
    in the stub manager IPID value to indicate that the stub resides in the
    MTA.
    Signed-off-by: 's avatarConnor McAdams <cmcadams@codeweavers.com>
    00c8117a
marshal.c 140 KB