[*] Ensure this never throws
This commit is contained in:
parent
76ac770674
commit
cf363b9f5b
@ -513,13 +513,13 @@ namespace Aurora::IO::FS
|
||||
if (this->dwOsErrorCode == ERROR_BROKEN_PIPE ||
|
||||
this->dwOsErrorCode == ERROR_HANDLE_EOF)
|
||||
{
|
||||
auto pipe = this->pNtIpcPipeImpl.lock();
|
||||
auto pPipe = AuTryLockMemoryType(this->pNtIpcPipeImpl);
|
||||
|
||||
DispatchCb(0);
|
||||
|
||||
if (pipe)
|
||||
if (pPipe)
|
||||
{
|
||||
pipe->OnEndOfReadStream();
|
||||
pPipe->OnEndOfReadStream();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user