Skip to content

Commit d86de10

Browse files
committed
Fix Record Node sync check
1 parent 95f9f00 commit d86de10

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Source/CoreServices.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,12 @@ namespace CoreServices
318318

319319
bool isSynchronized(int nodeId)
320320
{
321-
for (auto* node : getProcessorGraph()->getRecordNodes())
322-
{
323-
return node->isSynchronized();
324-
}
321+
for (auto* node : getProcessorGraph()->getRecordNodes())
322+
{
323+
if (node->getNodeId() == nodeId)
324+
return node->isSynchronized();
325+
}
326+
return false;
325327
}
326328

327329
/* NOT YET IMPLEMENTED -- these functions are currently global only

0 commit comments

Comments
 (0)