From 562bd7e45866b528929cf3790c6a3da23d38c27d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 17 Jul 2025 09:51:36 -0700 Subject: [PATCH] comments --- src/apprt/gtk-ng/class/application.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apprt/gtk-ng/class/application.zig b/src/apprt/gtk-ng/class/application.zig index d6ebe7c40..bbe3bfcb5 100644 --- a/src/apprt/gtk-ng/class/application.zig +++ b/src/apprt/gtk-ng/class/application.zig @@ -80,6 +80,8 @@ pub const Application = extern struct { running: bool = false, /// If non-null, we're currently showing a config errors dialog. + /// This is a WeakRef because the dialog can close on its own + /// outside of our own lifecycle and that's okay. config_errors_dialog: WeakRef(ConfigErrorsDialog) = .{}, var offset: c_int = 0;