We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4358c29 commit 538e6e0Copy full SHA for 538e6e0
src/viam/sdk/module/service.cpp
@@ -130,6 +130,8 @@ struct ModuleService::ServiceImpl : viam::module::v1::ModuleService::Service {
130
131
const std::shared_ptr<const ModelRegistration> reg =
132
Registry::get().lookup_model(cfg.name());
133
+
134
+ // TODO RSDK-11067 new resource gets constructed while old one is still alive.
135
if (reg) {
136
try {
137
const std::shared_ptr<Resource> resource = reg->construct_resource(deps, cfg);
0 commit comments