thread blocking on Linux (Ubuntu 18)
mikeTWC1984 opened this issue · 2 comments
mikeTWC1984 commented
Polaris Bug Report
Description of the bug
Came across a weird thread blocking bug when running Polaris on Ubuntu
Steps to reproduce
- Open pwsh in terminal
- Start-Polaris -port 8888; New-PolarisRoute -path "/route" -ScriptBlock {$Response.Send("test")}
- Go to http://localhost:8888/route (either browser or Invoke-WebRequest)
- Page hangs
- Then if you go back to terminal and hit enter, page loads immediately
Tiberriver256 commented
Hey @mikeTWC1984 - Looks like this is a duplicate of #136.
To confirm could you test with Remove-Module PSReadLine
and see if the issue goes away? If so, I will close this out to keep the discussion in #136.
mikeTWC1984 commented
It fixed the problem, thanks!