set *owner pointer to session requesting publish.
This commit is contained in:
parent
cb2a61bed9
commit
29c49cc1dd
@ -54,6 +54,7 @@ namespace core {
|
||||
}
|
||||
newSubscription = new Subscription(request[1].str(), session, request[2].str(), handler);
|
||||
subscriptions.insert(std::make_pair(request[1].str(), newSubscription));
|
||||
newSubscription->owner = &session;
|
||||
return 1;
|
||||
} else if (request[0].equals("catalog")) {
|
||||
session.out << ":catalog:";
|
||||
|
Loading…
x
Reference in New Issue
Block a user