Skip to content

fix(worker): allow Client::destroy() to release the queue - #867

Open
xepozz wants to merge 2 commits into
masterfrom
fix/client-destroy-queue
Open

xepozz wants to merge 2 commits into
masterfrom
fix/client-destroy-queue

Conversation

@xepozz

@xepozz xepozz commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

What was changed

Drop readonly from Client::$queue so destroy() can unset() it.

Why?

destroy() threw Error: Cannot unset readonly property.

Checklist

  1. Closes

  2. How was this tested:
    New unit test ClientTestCase fails before the fix and passes after it.

  3. Any docs updates needed?

No.

destroy() unset a readonly property and threw Error.
@xepozz
xepozz requested review from a team, roxblnfk and wolfy-j as code owners November 29, 2026 14:51
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T14:52:12.176388Z b229454 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant