Merge "stasis: Clarify lifetime of topics." into 16

This commit is contained in:
Joshua Colp 2018-11-07 06:08:39 -06:00 committed by Gerrit Code Review
commit 907ea79a92
1 changed files with 5 additions and 0 deletions

View File

@ -477,6 +477,11 @@ struct stasis_topic;
* \return New topic instance.
* \return \c NULL on error.
* \since 12
*
* \note There is no explicit ability to unsubscribe all subscribers
* from a topic and destroy it. As a result the topic can persist until
* the last subscriber unsubscribes itself even if there is no
* publisher.
*/
struct stasis_topic *stasis_topic_create(const char *name);