From 74c76bd82792b03bd12f30aa875fae3e5047ccc2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Apr 2011 21:27:38 +0000 Subject: Remove EngineInterface::quit(). Use del("ingen:engine") instead. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3172 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/ClientStore.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/client/ClientStore.cpp') 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 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 removed = remove_object(path); removed.reset(); LOG(debug) << "Removed object " << path << ", count: " << removed.use_count(); -- cgit v1.2.1