mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
CIDevice: Avoid including subscribeId in replies to subscription messages
This commit is contained in:
parent
c7b975c525
commit
16d5e4e2a6
1 changed files with 3 additions and 1 deletions
|
|
@ -927,7 +927,6 @@ private:
|
|||
device->listeners.call ([source, &data] (auto& l) { l.propertySubscriptionDataReceived (source, data); });
|
||||
|
||||
PropertyReplyHeader header;
|
||||
header.extended["subscribeId"] = subscribeId;
|
||||
const auto headerBytes = Encodings::jsonTo7BitText (header.toVarCondensed());
|
||||
|
||||
detail::MessageTypeUtils::send (device->concreteBufferOutput,
|
||||
|
|
@ -1192,6 +1191,9 @@ private:
|
|||
if (! primed.isValid())
|
||||
return;
|
||||
|
||||
// TODO(reuk) this isn't ideal, make subscription/request handling more robust
|
||||
primed.token.release();
|
||||
|
||||
detail::PropertyHostUtils::send (concreteBufferOutput,
|
||||
options.getFunctionBlock().firstGroup,
|
||||
detail::MessageMeta::Meta<Message::PropertySubscribe>::subID2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue