diff --git a/Source/IO/AuIOHandle.cpp b/Source/IO/AuIOHandle.cpp index 65eaacef..49e43a35 100644 --- a/Source/IO/AuIOHandle.cpp +++ b/Source/IO/AuIOHandle.cpp @@ -21,6 +21,11 @@ namespace Aurora::IO { AFileHandle::~AFileHandle() { + if (this->SharingIsShared()) + { + this->SharingStop(); + } + if (this->uOSWriteHandle.has_value() && this->uOSReadHandle.has_value() && this->uOSReadHandle.value() == this->uOSWriteHandle.value()) {