comparison data/model/FFTModel.cpp @ 362:cc4eb32efc6c

* Further model lifecycle fixes
author Chris Cannam
date Thu, 24 Jan 2008 11:03:59 +0000
parents ac300d385ab2
children 7e1b7fcb6c00
comparison
equal deleted inserted replaced
361:399ea254afd6 362:cc4eb32efc6c
84 84
85 void 85 void
86 FFTModel::sourceModelAboutToBeDeleted() 86 FFTModel::sourceModelAboutToBeDeleted()
87 { 87 {
88 if (m_sourceModel) { 88 if (m_sourceModel) {
89 std::cerr << "FFTModel[" << this << "]::sourceModelAboutToBeDeleted(" << m_sourceModel << ")" << std::endl;
90 if (m_server) {
91 FFTDataServer::releaseInstance(m_server);
92 m_server = 0;
93 }
89 FFTDataServer::modelAboutToBeDeleted(m_sourceModel); 94 FFTDataServer::modelAboutToBeDeleted(m_sourceModel);
90 } 95 }
91 } 96 }
92 97
93 FFTDataServer * 98 FFTDataServer *