| 68 | } |
| 69 | |
| 70 | ~MmapMemorySource() override { |
| 71 | if (view_) UnmapViewOfFile(view_); |
| 72 | if (mapping_) CloseHandle(mapping_); |
| 73 | if (file_ != INVALID_HANDLE_VALUE) CloseHandle(file_); |
| 74 | } |
| 75 | |
| 76 | u64 size() const override { return size_; } |
| 77 | const std::string& name() const override { return name_; } |
nothing calls this directly
no outgoing calls
no test coverage detected