Restore review-flagged comment content cut too aggressively in comment reduction
This commit is contained in:
@@ -65,6 +65,9 @@ UsagePublishPlan planUsagePublish(const std::optional<std::string>& existing,
|
||||
plan.wire = encodeUsageRecord(cleanMine);
|
||||
|
||||
if (!existing || existing->empty()) {
|
||||
// NOTE (>16 MB gap): readReasamplerExtState returning nullopt for a value
|
||||
// larger than 16 MB is indistinguishable from "absent" here, so that narrow
|
||||
// case also takes this fresh-write branch rather than remint.
|
||||
return plan; // fresh key — write mine
|
||||
}
|
||||
|
||||
|
||||
@@ -28,6 +28,10 @@
|
||||
// never degrade toward delete);
|
||||
// * unreadable record -> ABORT the prune entirely (a record we cannot read
|
||||
// may protect anything; halting deletes nothing).
|
||||
// Residual: readReasamplerExtState returning nullopt
|
||||
// for a >16 MB value is indistinguishable from
|
||||
// "absent" at the publish site, so that narrow case
|
||||
// takes the fresh-write branch, not remint.
|
||||
//
|
||||
// Liveness is decided extension-side at read time, not by teardown clearing
|
||||
// (REAPER destroys the plugin instance when an FX goes offline, including
|
||||
|
||||
Reference in New Issue
Block a user