Skip to content

Prevent panic when fileTransferRequestC is closed.#25850

Merged
r0mant merged 2 commits intomasterfrom
jakule/fix-file-transfer-once
May 8, 2023
Merged

Prevent panic when fileTransferRequestC is closed.#25850
r0mant merged 2 commits intomasterfrom
jakule/fix-file-transfer-once

Conversation

@jakule
Copy link
Copy Markdown
Contributor

@jakule jakule commented May 8, 2023

This PR fixes two issues.

  1. Closes fileTransferRequestC and fileTransferDecisionC on Close()
  2. Prevent panic when the channel is closed and nil is returned in select.

This PR fixes two issues.
1. Closes fileTransferRequestC and fileTransferDecisionC on Close()
2. Prevent panic when the channel is closed and nil is returned in select.
@jakule jakule requested a review from avatus May 8, 2023 20:05
@r0mant r0mant mentioned this pull request May 8, 2023
3 tasks
@r0mant r0mant added this pull request to the merge queue May 8, 2023
Merged via the queue into master with commit 6ee4e14 May 8, 2023
@r0mant r0mant deleted the jakule/fix-file-transfer-once branch May 8, 2023 21:28
@public-teleport-github-review-bot
Copy link
Copy Markdown

@jakule See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Create PR

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.

4 participants