Open edsko opened 3 days ago
I'm not completely sure but I guess that the true source of this leak is ThreadId
.
If so, we should use Weak ThreadId
instead.
See: https://kazu-yamamoto.hatenablog.jp/entry/2024/11/20/160218
Uhhm. Weak
is not an instance of Eq
and Ord
.
So, we cannot use Map
, sigh.
We can convert ThreadId
into Int
via Show
.
Then we can use IntSet (Weak ThreadId, TimeoutHandle)
.
I guess that https://github.com/kazu-yamamoto/http2/tree/improve-manager fixes this thread leak.
I guess that https://github.com/kazu-yamamoto/http2/tree/improve-manager fixes this thread leak.
I will try and let you know.
See
ManagedThreads
.Closes #154.