MCPcopy Create free account
hub / github.com/MrKepzie/Natron / ~MemoryFile

Method ~MemoryFile

Engine/MemoryFile.cpp:415–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415MemoryFile::~MemoryFile()
416{
417 if (_imp->data) {
418 try {
419 flush(eFlushTypeInvalidate, NULL, 0);
420 _imp->closeMapping(false);
421 } catch (const std::exception & e) {
422 std::cerr << e.what() << std::endl;
423 }
424 }
425 delete _imp;
426}
427
428void
429MemoryFile::remove()

Callers

nothing calls this directly

Calls 1

closeMappingMethod · 0.80

Tested by

no test coverage detected