nullify everything on close
This commit is contained in:
@@ -22,5 +22,8 @@ namespace OpenVulkano
|
||||
void MemMappedFile::Close()
|
||||
{
|
||||
m_internal->Close();
|
||||
m_internal = nullptr;
|
||||
m_data = nullptr;
|
||||
m_size = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user