diff options
author | David Robillard <d@drobilla.net> | 2006-09-12 01:00:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-09-12 01:00:52 +0000 |
commit | 23b7568ab7a87a79c186b8ddf3d3db4f1f934b06 (patch) | |
tree | 84ac925d65c940cc42fc88219758d7fc096f9dd4 /src/libs/client/Store.cpp | |
parent | 16c866f220847ae23012318d2c1a5023076ab5fa (diff) | |
download | ingen-23b7568ab7a87a79c186b8ddf3d3db4f1f934b06.tar.gz ingen-23b7568ab7a87a79c186b8ddf3d3db4f1f934b06.tar.bz2 ingen-23b7568ab7a87a79c186b8ddf3d3db4f1f934b06.zip |
Bug fixes.
git-svn-id: http://svn.drobilla.net/lad/ingen@130 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/Store.cpp')
-rw-r--r-- | src/libs/client/Store.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libs/client/Store.cpp b/src/libs/client/Store.cpp index c0bc1a31..df0bdd95 100644 --- a/src/libs/client/Store.cpp +++ b/src/libs/client/Store.cpp @@ -211,7 +211,12 @@ Store::add_plugin(CountedPtr<PluginModel> pm) void Store::destruction_event(const Path& path) { - remove_object(path); + CountedPtr<ObjectModel> removed = remove_object(path); + removed->controller().reset(); + cerr << "Store removed object " << path + << " controller count: " << removed->controller().use_count(); + removed.reset(); + cerr << ", model count: " << removed.use_count() << endl; } void |