Skip to content

Commit 538e6e0

Browse files
committed
todo comment
1 parent 4358c29 commit 538e6e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/viam/sdk/module/service.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ struct ModuleService::ServiceImpl : viam::module::v1::ModuleService::Service {
130130

131131
const std::shared_ptr<const ModelRegistration> reg =
132132
Registry::get().lookup_model(cfg.name());
133+
134+
// TODO RSDK-11067 new resource gets constructed while old one is still alive.
133135
if (reg) {
134136
try {
135137
const std::shared_ptr<Resource> resource = reg->construct_resource(deps, cfg);

0 commit comments

Comments
 (0)