diff --git a/src/TopicTree.h b/src/TopicTree.h index a027f5c..94edfb5 100644 --- a/src/TopicTree.h +++ b/src/TopicTree.h @@ -82,10 +82,11 @@ struct TopicTree { FIRST = 2 }; -private: /* Whomever is iterating this topic is locked to not modify its own list */ Subscriber *iteratingSubscriber = nullptr; +private: + /* The drain callback must not publish, unsubscribe or subscribe. * It must only cork, uncork, send, write */ std::function cb;