Andrejs Hanins

Results 4 comments of Andrejs Hanins

I have the same issue. Debugging showed that `Close` waits for `readUntilClosed` go-routing to exit, but that go-routine is blocked on `ReadFrom` call here https://github.com/pion/stun/blob/0f7f72b905d54eaf8e477af78c6a3d42f54ea217/client.go#L327 Workaround is to call `SetReadDeadline(time.Now())`...

@adsko It shouldn't do that. Make sure you call `SetReadDeadline(time.Time{})` on the _underlying_ connection after stun connection is closed to restore the original behavior of the _underlying_ connection.

> I rebased [hishamhm/htop#848](https://github.com/hishamhm/htop/pull/848) in #546. Can someone give it a try? FYI: https://github.com/htop-dev/htop/pull/546#issuecomment-1698907153 It seems to be working fine for me under sudo.

I've compiled `htop` from this branch on MacBook Pro Max M2 running macOS Ventura 13.5.1 (all updates installed as of 30-Aug-2023) and I *do see user land threads* 🎉 ,...