Skip to content

Conversation

@CedricGuillemet
Copy link
Contributor

@CedricGuillemet CedricGuillemet commented Jun 13, 2024

Shutdown with async shader compilation crash repro.
Left as commented code: I was unable to expect a crash with GoogleTest and adding a sleep call to get sufficient time for shaders to be compiled was unreliable.

@CedricGuillemet CedricGuillemet marked this pull request as ready for review June 13, 2024 17:22
@CedricGuillemet CedricGuillemet changed the title Async shader compilation + shutdown Async shader compilation + shutdown crash repro Jun 14, 2024
loader.LoadScript("app:///Scripts/babylon.max.js");
loader.LoadScript("app:///Scripts/babylonjs.materials.js");
loader.Eval(R"(
function CreateBoxAsync(scene) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a comment explaining why this needs to be an async function rather than just synchronous setup code? Not clear to me.

@CedricGuillemet
Copy link
Contributor Author

Closing in favor of #1397

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants