diff options
author | David Robillard <d@drobilla.net> | 2008-05-14 23:31:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-05-14 23:31:15 +0000 |
commit | eb10d32d8b59f2158ba64ba55e310ba0f5f24170 (patch) | |
tree | d67944c6ada3369ba988cee4bd86ca24ee9de703 /src/libs/engine/ObjectStore.hpp | |
parent | 5fc6f5df54a2650c4a53f04ee38cfebec0a515e1 (diff) | |
download | ingen-eb10d32d8b59f2158ba64ba55e310ba0f5f24170.tar.gz ingen-eb10d32d8b59f2158ba64ba55e310ba0f5f24170.tar.bz2 ingen-eb10d32d8b59f2158ba64ba55e310ba0f5f24170.zip |
Fix clear patch command (ticket #18).
Potential destruction race/leak fixes.
More thorough thread assertions on graph object methods.
git-svn-id: http://svn.drobilla.net/lad/ingen@1207 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/ObjectStore.hpp')
-rw-r--r-- | src/libs/engine/ObjectStore.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/engine/ObjectStore.hpp b/src/libs/engine/ObjectStore.hpp index 9c316f6c..bf85d3e1 100644 --- a/src/libs/engine/ObjectStore.hpp +++ b/src/libs/engine/ObjectStore.hpp @@ -62,6 +62,8 @@ public: SharedPtr< Table<Path, SharedPtr<Shared::GraphObject> > > remove(const Path& path); SharedPtr< Table<Path, SharedPtr<Shared::GraphObject> > > remove(Objects::iterator i); + SharedPtr< Table<Path, SharedPtr<Shared::GraphObject> > > remove_children(const Path& path); + SharedPtr< Table<Path, SharedPtr<Shared::GraphObject> > > remove_children(Objects::iterator i); const Objects& objects() const { return _objects; } Objects& objects() { return _objects; } |