Calling `Scene.toImageSync` effectively disposes it.

This issue has been tracked since 2022-09-22.

We shouldn't std::move the layer_tree_ for ths.

/cc @jonahwilliams fyi.

jonahwilliams wrote this answer on 2022-09-23

woops

dnfield wrote this answer on 2022-09-23

I'm touching this code anyway for impeller toImageSync so I'll fix it there.

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2022-09-30
Star Count 145381
Watcher Count 3565
Fork Count 23363
Issue Count 11208

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date