Skip to content

Commit

Permalink
bugfix: fix sunshine stall scenario
Browse files Browse the repository at this point in the history
Fixed a bug that caused Sunshine to stall until it was restarted.
  • Loading branch information
Nonary committed Jun 15, 2023
1 parent 5bc5d78 commit 247c67e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HDRToggle-Functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function Stop-HDRToggleScript() {
if ($pipeExists.Length -gt 0) {
$pipeName = "HDRToggle"
$pipe = New-Object System.IO.Pipes.NamedPipeClientStream(".", $pipeName, [System.IO.Pipes.PipeDirection]::Out)
$pipe.Connect()
$pipe.Connect(3)
$streamWriter = New-Object System.IO.StreamWriter($pipe)
$streamWriter.WriteLine("Terminate")
try {
Expand Down

0 comments on commit 247c67e

Please sign in to comment.