This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
POSIX: Set fileHandle to 0 after closing in MemoryMappedFile::openInternal() to prevent it from being closed again in the destructor
v6.1.6
ed
3 years ago
parent
63f2a7c30c
commit
055a4e93e9
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
modules/juce_core/native/juce_posix_SharedCode.h
+ 1
- 0
modules/juce_core/native/juce_posix_SharedCode.h
View File
@@ -578,6 +578,7 @@ void MemoryMappedFile::openInternal (const File& file, AccessMode mode, bool exc
}
close (fileHandle);
fileHandle = 0;
}
}
Write
Preview
Loading…
Cancel
Save