diff options
Diffstat (limited to 'plugins/Db3x_mmap/src/dbtool/finaltasks.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/dbtool/finaltasks.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/Db3x_mmap/src/dbtool/finaltasks.cpp b/plugins/Db3x_mmap/src/dbtool/finaltasks.cpp index a7f9c8ef46..dc1e05463c 100644 --- a/plugins/Db3x_mmap/src/dbtool/finaltasks.cpp +++ b/plugins/Db3x_mmap/src/dbtool/finaltasks.cpp @@ -27,17 +27,5 @@ int CDb3Base::WorkFinalTasks(int firstTime) if (WriteSegment(0, &m_dbHeader, sizeof(m_dbHeader)) == WS_ERROR)
return ERROR_WRITE_FAULT;
- if (m_hDbFile) {
- CloseHandle(m_hDbFile);
- m_hDbFile = NULL;
- }
- if (m_pDbCache) {
- UnmapViewOfFile(m_pDbCache);
- m_pDbCache = NULL;
- }
- if (m_hMap) {
- CloseHandle(m_hMap);
- m_hMap = NULL;
- }
return ERROR_NO_MORE_ITEMS;
}
|