mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
Bugfix: Detector properly clears throttle's topology cache during detachment. This resolves the assertion failure that has been occurring in the Detector dtor.
This commit is contained in:
parent
c6e9cf0d61
commit
748c7df7cb
1 changed files with 2 additions and 1 deletions
|
|
@ -878,6 +878,7 @@ struct PhysicalTopologySource::Internal
|
|||
bi->sendCommandMessage (BlocksProtocol::endAPIMode);
|
||||
|
||||
currentTopology = {};
|
||||
topologyBroadcastThrottle.lastTopology = {};
|
||||
|
||||
auto& d = getDefaultDetectorPointer();
|
||||
|
||||
|
|
@ -922,7 +923,7 @@ struct PhysicalTopologySource::Internal
|
|||
|
||||
for (int i = currentTopology.blocks.size(); --i >= 0;)
|
||||
{
|
||||
auto block = currentTopology.blocks.getUnchecked(i);
|
||||
auto block = currentTopology.blocks.getUnchecked (i);
|
||||
|
||||
if (! containsBlockWithUID (newDeviceInfo, block->uid))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue