[Impeller] Remove validation log when the pipeline library is collected before pipeline is setup. (flutter/engine#38306)

This is a benign condition but the validation logs could be fatal since
https://github.com/flutter/engine/commit/f292cf45fa8. Don't crash in these
situations.
This commit is contained in:
Chinmay Garde
2022-12-14 18:23:23 -08:00
committed by GitHub
parent b5a39aae41
commit 0292d72e3c

View File

@@ -119,8 +119,6 @@ PipelineFuture<PipelineDescriptor> PipelineLibraryMTL::GetPipeline(
auto strong_this = weak_this.lock();
if (!strong_this) {
VALIDATION_LOG << "Library was collected before a pending pipeline "
"creation could finish.";
promise->set_value(nullptr);
return;
}