DescriptionFix subtle dynamic library loading problem and deflake the tree.
Dynamic libraries were given a name on disk determined by the sha256 of their
content. If the same library was loaded from multiple origins, it would be
given the same path on disk. Because it had the same path, this dynamic library
would be initialized once. mojo_shell would invoke MojoMain multiple times,
however, to create instances for different URLs. This caused the TLS of
RunLoop::current() to be allocated multiple times, and prior instances would
suddenly see RunLoop::current() == nullptr when the existing TLS was clobbered.
This CL mixes the URL into the sha256 to give different apps different names.
Fixes #63
Patch Set 1 #
Messages
Total messages: 14 (3 generated)
|