Ignore:
Timestamp:
Apr 15, 2011, 2:57:02 AM (14 years ago)
Author:
dmik
Message:

kernel32: Removed the dirty hack that would reset the exception handler chain before calling DosExit(). This prevented exception handlers in the chain from being called at thread termination and performing the necessary cleanup which is sometimes vital (like releasing locked resources etc).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/wprocess.cpp

    r21469 r21619  
    625625    teb = GetThreadTEB();
    626626    if(teb) DestroyTEB(teb);
    627     SetExceptionChain((ULONG)-1);
    628627
    629628    //avoid crashes since win32 & OS/2 exception handler aren't identical
Note: See TracChangeset for help on using the changeset viewer.