vm(qemu): remove forgotten viewstate reference

This commit is contained in:
osy
2022-08-29 09:07:32 -07:00
parent fbf7fbc8ac
commit 88ed209640
2 changed files with 0 additions and 5 deletions
@@ -28,8 +28,6 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, readonly, nullable) UTMQemu *system;
@property (nonatomic, readonly, nullable) UTMSpiceIO *ioService;
- (void)saveViewState;
@end
NS_ASSUME_NONNULL_END
-3
View File
@@ -312,9 +312,6 @@ NSString *const kSuspendSnapshotName = @"suspend";
}
- (void)_vmStopForce:(BOOL)force completion:(void (^)(NSError * _Nullable))completion {
// save view settings early to win exit race
[self saveViewState];
[self.qemu qemuQuitWithCompletion:nil];
if (force || dispatch_semaphore_wait(self.qemuWillQuitEvent, dispatch_time(DISPATCH_TIME_NOW, kStopTimeout)) != 0) {
UTMLog(@"Stop operation timeout or force quit");