Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
masahide committed Oct 26, 2024
1 parent 244cd1a commit 8ba61ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/wsl2-ssh-agent-proxy/pwsh.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ $PacketWorkerScript = {
}
catch {
[Console]::Error.WriteLine("PacketWorker [ch:$($Packet.channelID) type:$($Packet.TypeNum)]: Exception occurred while processing. Error: $($_.Exception.Message). Worker will stop.")
$this.NamedPipeStream.Close()
$this.NamedPipeStream = $null
$this.StopWorker($Packet.ChannelID)
Start-Sleep -Seconds 1.0
continue
}
}
Expand Down

0 comments on commit 8ba61ea

Please # to comment.