Skip to content

Commit

Permalink
audio: Context::disconnectAllNodes() clears out any auto-pulled nodes…
Browse files Browse the repository at this point in the history
… after disconnecting
  • Loading branch information
richardeakin committed Oct 30, 2024
1 parent 7e7f996 commit 37d191c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cinder/audio/Context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ void Context::disconnectAllNodes()

for( const auto& node : mAutoPulledNodes )
disconnectRecursive( node, traversedNodes );

// clear out all auto-pulled nodes
mAutoPulledNodes.clear();
mAutoPullCache.clear();
mAutoPullCacheDirty = false;
}

void Context::setOutput( const OutputNodeRef &output )
Expand Down

0 comments on commit 37d191c

Please sign in to comment.