Skip to content

Commit

Permalink
Fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnnz committed Aug 9, 2024
1 parent f5fb386 commit 74df818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/channels/channelManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ void ChannelManager::addTrack(Frame bufferSize)

void ChannelManager::removeTrack(std::size_t trackIndex)
{
assert(m_model.get().tracks.get(trackIndex).getAll().size() == 1); // Only one Channel Group
assert(m_model.get().tracks.get(trackIndex).getChannels().getAll().size() == 1); // Only one Channel Group

const ID groupChannelId = m_model.get().tracks.get(trackIndex).getGroupChannel().id;

Expand Down

0 comments on commit 74df818

Please sign in to comment.