[flutter_driver] Remove runUnsynchronized in VMServiceFlutterDriver (#87467)
This commit is contained in:
@@ -485,18 +485,6 @@ class VMServiceFlutterDriver extends FlutterDriver {
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Future<T> runUnsynchronized<T>(Future<T> Function() action, { Duration? timeout }) async {
|
||||
await sendCommand(SetFrameSync(false, timeout: timeout));
|
||||
T result;
|
||||
try {
|
||||
result = await action();
|
||||
} finally {
|
||||
await sendCommand(SetFrameSync(true, timeout: timeout));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> forceGC() async {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user