Don't send accept/reject if compilation never started. (#27319)
* Don't send accept/reject if compilation never started. Ensure that we wait for reject's response since that is async operation. Fixes https://github.com/flutter/flutter/issues/27120. * Fix analysis errors * Rename flag. Ensure we raise it on first compilation too.
This commit is contained in:
committed by
GitHub
parent
cfe992d087
commit
030dc3fade
@@ -462,7 +462,7 @@ class MockResidentCompiler extends BasicMock implements ResidentCompiler {
|
||||
void accept() {}
|
||||
|
||||
@override
|
||||
void reject() {}
|
||||
Future<CompilerOutput> reject() async { return null; }
|
||||
|
||||
@override
|
||||
void reset() {}
|
||||
|
||||
Reference in New Issue
Block a user