diff options
author | David Robillard <d@drobilla.net> | 2011-04-19 21:27:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-19 21:27:38 +0000 |
commit | 74c76bd82792b03bd12f30aa875fae3e5047ccc2 (patch) | |
tree | fc547c60d974b2f064c2e401ddcbecee82ed9d2a /src/client/ClientStore.cpp | |
parent | 08759b27bc19de59bfd17fc929ee7e0021181ffb (diff) | |
download | ingen-74c76bd82792b03bd12f30aa875fae3e5047ccc2.tar.gz ingen-74c76bd82792b03bd12f30aa875fae3e5047ccc2.tar.bz2 ingen-74c76bd82792b03bd12f30aa875fae3e5047ccc2.zip |
Remove EngineInterface::quit().
Use del("ingen:engine") instead.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3172 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/ClientStore.cpp')
-rw-r--r-- | src/client/ClientStore.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 32e115e6..690a2666 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -201,8 +201,12 @@ ClientStore::add_plugin(SharedPtr<PluginModel> pm) /* ****** Signal Handlers ******** */ void -ClientStore::del(const Path& path) +ClientStore::del(const URI& uri) { + if (!Raul::Path::is_path(uri)) + return; + + const Raul::Path path(uri.str()); SharedPtr<ObjectModel> removed = remove_object(path); removed.reset(); LOG(debug) << "Removed object " << path << ", count: " << removed.use_count(); |