Skip to content

HTTP: Clear callbacks on HTTP requests during shutdown to prevent crashes - #94

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/http-clear-callbacks
Open

HTTP: Clear callbacks on HTTP requests during shutdown to prevent crashes#94
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/http-clear-callbacks

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-KW. The issue was that: HTTP request callbacks execute during shutdown after captured objects, like WebSocket, have been destroyed.

  • Added ClearCallbacks method to HTTPRequest to nullify completion and progress callbacks.
  • Called ClearCallbacks on all in-flight HTTP requests during HTTPManager shutdown to prevent accessing destroyed objects.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 2086980

Not quite right? Click here to continue debugging with Seer.

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.

0 participants