Changeset 1793 for trunk/dll/dircnrs.c


Ignore:
Timestamp:
Sep 7, 2014, 7:28:33 PM (11 years ago)
Author:
Gregg Young
Message:

Corrected fix for filter trap on close during initial scan. I had failed to account for the fact that directory containers get closed other than at shutdown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r1786 r1793  
    12131213                        0,
    12141214                        SWP_RESTORE | SWP_SHOW | SWP_ACTIVATE | SWP_ZORDER);
    1215       DosRequestMutexSem(hmtxFiltering, SEM_INDEFINITE_WAIT);
    12161215      FreeList(dcd->lastselection);
    12171216      WinSetWindowPtr(dcd->hwndCnr, QWL_USER, NULL);    // 13 Apr 10 SHL Set NULL before freeing dcd
     1217      DosRequestMutexSem(hmtxFiltering, SEM_INDEFINITE_WAIT);
    12181218      xfree(dcd, pszSrcFile, __LINE__);
     1219      DosReleaseMutexSem(hmtxFiltering);
    12191220      DosPostEventSem(CompactSem);
    12201221    }
     
    35263527                        0,
    35273528                        SWP_RESTORE | SWP_SHOW | SWP_ACTIVATE | SWP_ZORDER);
     3529      FreeList(dcd->lastselection);
    35283530      DosRequestMutexSem(hmtxFiltering, SEM_INDEFINITE_WAIT);
    3529       FreeList(dcd->lastselection);
    35303531      free(dcd);
     3532      DosReleaseMutexSem(hmtxFiltering);
    35313533      WinSetWindowPtr(hwnd, QWL_USER, NULL);
    35323534      DosPostEventSem(CompactSem);
Note: See TracChangeset for help on using the changeset viewer.