From 738a1a330c263cfb54083d7d773c4994121bd4f6 Mon Sep 17 00:00:00 2001 From: dignow Date: Fri, 20 Oct 2023 09:17:10 +0800 Subject: [PATCH] change comment Signed-off-by: dignow --- flutter/lib/desktop/widgets/tabbar_widget.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/lib/desktop/widgets/tabbar_widget.dart b/flutter/lib/desktop/widgets/tabbar_widget.dart index 8973ed777..08b0ce277 100644 --- a/flutter/lib/desktop/widgets/tabbar_widget.dart +++ b/flutter/lib/desktop/widgets/tabbar_widget.dart @@ -622,7 +622,7 @@ class WindowActionPanelState extends State // it's safe to hide the subwindow final controller = WindowController.fromWindowId(kWindowId!); if (Platform.isMacOS) { - // onWindowClose() maybe called multiple times as loopCloseWindow() in remote_tab_page.dart. + // onWindowClose() maybe called multiple times because of loopCloseWindow() in remote_tab_page.dart. // use ??= to make sure the value is set on first call. if (await widget.onClose?.call() ?? true) {