You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, it looks like the non-Windows implementations of MemoryMappedFile::createNew and MemoryMappedFile::mapExisting close file decsriptors by creating OnScopeExit objects immediately after a successful open.
However these OnScopeExit objects are missing from the Windows implementations of MemoryMappedFile::createNew and MemoryMappedFile::mapExisting so the file descriptors are leaked. This means that a client will hold the files open throughout its lifetime, preventing them from being cleaned up.
If you agree, do you think it makes sense to add them?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello, it looks like the non-Windows implementations of MemoryMappedFile::createNew and MemoryMappedFile::mapExisting close file decsriptors by creating OnScopeExit objects immediately after a successful open.
However these OnScopeExit objects are missing from the Windows implementations of MemoryMappedFile::createNew and MemoryMappedFile::mapExisting so the file descriptors are leaked. This means that a client will hold the files open throughout its lifetime, preventing them from being cleaned up.
If you agree, do you think it makes sense to add them?
Thanks!
The text was updated successfully, but these errors were encountered: