Skip to content
Commit Detail

Commit 9feed8d

Author
Kenton Varda <kenton@cloudflare.com> 2025-06-19 14:20:31 -0500
Parents
37438e2
Tree
d2e6884
Refactor: Strengthen refereces to `Service`s.

Many objects in `server.c++` would hold a regular reference to a parent `Service`. We should make these strong references now.

With this change, it should now be the case that if someone holds onto a `SubrequestChannel`, it prevents the underlying `Service` from being destroyed. This will be important when we implement dynamic isolate loading, which will presumably involve evicting isolates before server shutdown.

Files changed

1 file changed~1 modified