Skip to content

Commit a1f49c6

Browse files
committed
Forgot to register for newObject as well
1 parent 029b29f commit a1f49c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/autonet/AutoNetServerImpl.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ void AutoNetServerImpl::NewContext(CoreContext* pParent, CoreContext& newCtxt) {
163163
newCtxt.expiredContext += [this, &newCtxt] {
164164
ExpiredContext(newCtxt);
165165
};
166+
newCtxt.newObject += [this, &newCtxt](const CoreObjectDescriptor& desc) {
167+
NewObject(newCtxt, desc);
168+
};
166169

167170
*this += [this, pParent, ctxt] {
168171
Json::object context{

0 commit comments

Comments
 (0)