Mercurial > hg > svcore
diff data/fft/FFTDataServer.cpp @ 497:b6dc6c7f402c
Various fixes:
* Fix handling of HTTP redirects (avoiding crashes... I hope)
* Fix failure to delete FFT models when a feature extraction model
transformer was abandoned (also a cause of crashes in the past)
* Fix deadlock when said transform was abandoned before its source
model was ready because the session was being cleared (and so the
source model would never be ready)
author | Chris Cannam |
---|---|
date | Fri, 28 Nov 2008 13:36:13 +0000 |
parents | 3e0f1f7bec85 |
children | 83eae5239db6 |
line wrap: on
line diff
--- a/data/fft/FFTDataServer.cpp Thu Nov 27 22:09:58 2008 +0000 +++ b/data/fft/FFTDataServer.cpp Fri Nov 28 13:36:13 2008 +0000 @@ -451,6 +451,7 @@ if (i->second.second > 0) { std::cerr << "WARNING: FFTDataServer::modelAboutToBeDeleted: Model " << model << " (\"" << model->objectName().toStdString() << "\") is about to be deleted, but is still being referred to by FFT server " << server << " with non-zero refcount " << i->second.second << std::endl; + server->suspendWrites(); return; } for (ServerQueue::iterator j = m_releasedServers.begin();