mirror of
https://github.com/utmapp/UTM.git
synced 2026-10-12 02:24:01 +00:00
vm(qemu): remove forgotten viewstate reference
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user