Skip to content

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Jul 2, 2020

Q A
Branch? master
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

This ensures that async decorators always "see" the destruction of an AsyncResponse, via an isLast() chunk + a "canceled" state.

The diff is hard to read, here are the hints to understand what changed:

  • a __destructor has been added;
  • the passthru logic has been moved to a new method but is essentially unchanged.

@nicolas-grekas nicolas-grekas added this to the next milestone Jul 2, 2020
@nicolas-grekas nicolas-grekas force-pushed the hc-last-chunk branch 2 times, most recently from 2334131 to d788104 Compare July 2, 2020 17:44
@fabpot
Copy link
Member

fabpot commented Jul 3, 2020

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 98e6a93 into symfony:master Jul 3, 2020
@nicolas-grekas nicolas-grekas deleted the hc-last-chunk branch July 6, 2020 15:03
@nicolas-grekas nicolas-grekas modified the milestones: next, 5.2 Oct 5, 2020
@fabpot fabpot mentioned this pull request Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants