From 294e0b0bb73a6c4f1a2aaeecf056850622cb6143 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Sat, 30 Apr 2022 00:12:39 +0100 Subject: [PATCH] simgear/structure/commands.cxx: removed assert that fires if we don't use thread-cpu affinities. --- simgear/structure/commands.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/simgear/structure/commands.cxx b/simgear/structure/commands.cxx index fa0504d9..488094fb 100644 --- a/simgear/structure/commands.cxx +++ b/simgear/structure/commands.cxx @@ -75,9 +75,6 @@ void SGCommandMgr::setImplicitRoot(SGPropertyNode *root) void SGCommandMgr::addCommandObject (const std::string &name, Command* command) { -#if !defined(NDEBUG) - assert(SGThread::current() == d->_mainThreadId); -#endif if (d->_commands.find(name) != d->_commands.end()) throw sg_exception("duplicate command name:" + name);