Complete render process isolation phases 4 and 5

This commit is contained in:
2026-06-06 23:31:52 +08:00
parent 042f008a02
commit 0daad22129
6 changed files with 354 additions and 46 deletions
+9
View File
@@ -302,6 +302,15 @@ private:
}
for (int requested_slot : requested_input_slots) {
if (requested_slot < 0 ||
requested_slot >= int(input_pool_->slot_count())) {
for (int slot : input_slots) {
input_pool_->Release(uint32_t(slot));
}
return Write(ErrorMessage(QStringLiteral("input slot index out of range"),
message.ticket_id));
}
uint32_t consumed_slot = 0;
if (!input_pool_->Consume(&consumed_slot)) {
for (int slot : input_slots) {