Skip to content
Commit Detail

Commit 901e801

Author
Kenton Varda <kenton@cloudflare.com> 2025-05-02 16:01:17 -0500
Parents
c89496d
Tree
9d9979a
Refactor: Initialize `transient` on first call to `Actor::getTransient()`.

This gets it out of the constructor. It turns out this is the only thing in the whole constructor that required the isolate lock!

(Note that `transient` is only ever used with old-style non-class-based, Service-Workers-syntax actors, which were never released publicly and we might be able to remove entirely... but not in this PR.)

Files changed

1 file changed~1 modified