summaryrefslogtreecommitdiffstats
path: root/src/server/GraphObjectImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/GraphObjectImpl.cpp')
-rw-r--r--src/server/GraphObjectImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/GraphObjectImpl.cpp b/src/server/GraphObjectImpl.cpp
index f4677e4f..88edfb0e 100644
--- a/src/server/GraphObjectImpl.cpp
+++ b/src/server/GraphObjectImpl.cpp
@@ -20,6 +20,7 @@
#include "GraphObjectImpl.hpp"
#include "PatchImpl.hpp"
#include "EngineStore.hpp"
+#include "ThreadManager.hpp"
using namespace std;
using namespace Raul;
@@ -40,6 +41,7 @@ GraphObjectImpl::GraphObjectImpl(Ingen::Shared::LV2URIMap& uris,
const Atom&
GraphObjectImpl::get_property(const Raul::URI& key) const
{
+ ThreadManager::assert_not_thread(THREAD_PROCESS);
static const Atom null_atom;
Resource::Properties::const_iterator i = properties().find(key);
return (i != properties().end()) ? i->second : null_atom;