mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 03:48:57 +00:00
Do not clean up if the MappedFile was never used or if the client already
closed the file. This unbreaks the build. llvm-svn: 19871
This commit is contained in:
parent
9db35b0763
commit
a7ce993d7f
@ -52,7 +52,7 @@ namespace sys {
|
||||
|
||||
/// Destruct a MappedFile and release all memory associated with it.
|
||||
/// @throws std::string if an error occurs
|
||||
~MappedFile() { terminate(); }
|
||||
~MappedFile() { if (info_) terminate(); }
|
||||
|
||||
/// @}
|
||||
/// @name Accessors
|
||||
|
Loading…
x
Reference in New Issue
Block a user