[*] you slimey rats dont get vtable exec that easily
This commit is contained in:
parent
c5656a8843
commit
ac33e6bb7f
@ -177,6 +177,10 @@ namespace Aurora::IO::IPC
|
|||||||
|
|
||||||
IPCPipeImpl::~IPCPipeImpl()
|
IPCPipeImpl::~IPCPipeImpl()
|
||||||
{
|
{
|
||||||
|
if (this->fsHandle_)
|
||||||
|
{
|
||||||
|
AuStaticCast<AFileHandle>(this->fsHandle_)->pIPCPipe = nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AuSPtr<Loop::ILoopSource> IPCPipeImpl::AsReadChannelIsOpen()
|
AuSPtr<Loop::ILoopSource> IPCPipeImpl::AsReadChannelIsOpen()
|
||||||
|
@ -32,6 +32,11 @@ namespace Aurora::IO::IPC
|
|||||||
{
|
{
|
||||||
int fd {-1};
|
int fd {-1};
|
||||||
|
|
||||||
|
if (this->fsHandle_)
|
||||||
|
{
|
||||||
|
AuStaticCast<AFileHandle>(this->fsHandle_)->pIPCPipe = nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
if (secondary[0] == -1)
|
if (secondary[0] == -1)
|
||||||
{
|
{
|
||||||
this->mutex_->Unlock();
|
this->mutex_->Unlock();
|
||||||
@ -60,8 +65,8 @@ namespace Aurora::IO::IPC
|
|||||||
::close(fd);
|
::close(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
fsHandle_.reset();
|
this->fsHandle_.reset();
|
||||||
fsStream_.reset();
|
this->fsStream_.reset();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user