sync up the code with IIS OOB branch (#21)

This commit is contained in:
pan-wang 2016-10-26 13:44:02 -07:00 committed by GitHub
parent 64ab88fa66
commit ef19455912
2 changed files with 4 additions and 2 deletions

View File

@ -160,7 +160,7 @@ private:
m_ppServerProcessList[i] != NULL )
{
// shutdown pServerProcess if not already shutdown.
m_ppServerProcessList[i]->StopProcess();
m_ppServerProcessList[i]->SendSignal();
m_ppServerProcessList[i]->DereferenceServerProcess();
m_ppServerProcessList[i] = NULL;
}

View File

@ -199,6 +199,7 @@ FILE_WATCHER_ENTRY::~FILE_WATCHER_ENTRY()
}
}
#pragma warning(disable:4100)
HRESULT
FILE_WATCHER_ENTRY::HandleChangeCompletion(
@ -301,11 +302,12 @@ Finished:
return hr;
}
#pragma warning( error : 4100 )
HRESULT
FILE_WATCHER_ENTRY::Monitor(VOID)
{
HRESULT hr = S_OK;
BOOL fRet = FALSE;
DWORD cbRead;
AcquireSRWLockExclusive(&_srwLock);