comparison plugin/RealTimePluginInstance.cpp @ 1830:5f8fbbde08ff audio-source-refactor

Use shared_ptr for plugin instances throughout
author Chris Cannam
date Fri, 20 Mar 2020 16:30:33 +0000
parents 48e9f538e6e9
children
comparison
equal deleted inserted replaced
1829:51fd27fbce9a 1830:5f8fbbde08ff
26 #include <iostream> 26 #include <iostream>
27 27
28 28
29 RealTimePluginInstance::~RealTimePluginInstance() 29 RealTimePluginInstance::~RealTimePluginInstance()
30 { 30 {
31 // SVDEBUG << "RealTimePluginInstance::~RealTimePluginInstance" << endl;
32
33 if (m_factory) {
34 // SVDEBUG << "Asking factory to release " << m_identifier << endl;
35
36 m_factory->releasePlugin(this, m_identifier);
37 }
38 } 31 }
39 32