Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 0f46862

Browse files
committed
Rename FlutterAppDelegate_internal.h
1 parent 8c612c3 commit 0f46862

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

shell/platform/darwin/macos/framework/Source/FlutterApplication.mm

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,12 @@ + (NSApplication*)sharedApplication {
6262
// it if it is OK to terminate. When that method channel call returns with a
6363
// result, the application either terminates or continues running.
6464
- (void)terminate:(id)sender {
65-
FlutterEngineTerminationHandler* terminationHandler = [static_cast<FlutterAppDelegate*>([NSApp delegate]) terminationHandler];
65+
FlutterEngineTerminationHandler* terminationHandler =
66+
[static_cast<FlutterAppDelegate*>([NSApp delegate]) terminationHandler];
6667
if (terminationHandler) {
67-
[terminationHandler requestApplicationTermination:self exitType:kFlutterAppExitTypeCancelable result:nil];
68+
[terminationHandler requestApplicationTermination:self
69+
exitType:kFlutterAppExitTypeCancelable
70+
result:nil];
6871
} else {
6972
// If there's no termination handler, then just terminate.
7073
[super terminate:sender];

0 commit comments

Comments
 (0)