Mercurial > hg > svcore
diff data/fileio/MatrixFile.cpp @ 546:95391b480e17
* Make use of peak cache in spectrogram
author | Chris Cannam |
---|---|
date | Wed, 04 Feb 2009 15:03:42 +0000 |
parents | 3cc4b7cd2aa5 |
children | 806e3c72b5df |
line wrap: on
line diff
--- a/data/fileio/MatrixFile.cpp Wed Feb 04 13:33:50 2009 +0000 +++ b/data/fileio/MatrixFile.cpp Wed Feb 04 15:03:42 2009 +0000 @@ -156,6 +156,7 @@ if (::close(m_fd) < 0) { ::perror("MatrixFile::~MatrixFile: close failed"); } + openCount --; } QMutexLocker locker(&m_createMutex); @@ -176,7 +177,6 @@ totalStorage -= (m_headerSize + (m_width * m_height * m_cellSize) + m_width); } totalCount --; - openCount --; #ifdef DEBUG_MATRIX_FILE std::cerr << "MatrixFile[" << m_fd << "]::~MatrixFile: " << std::endl;