detach documents before a window is fulled destroyed

Thu, 28 May 2026 21:17:26 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 28 May 2026 21:17:26 +0200
changeset 1147
30476eaff3ba
parent 1145
57cc5fc047f3
child 1148
6ebe1b98f53b

detach documents before a window is fulled destroyed

ui/common/context.c file | annotate | diff | comparison | revisions
--- a/ui/common/context.c	Thu May 28 17:45:20 2026 +0200
+++ b/ui/common/context.c	Thu May 28 21:17:26 2026 +0200
@@ -110,6 +110,7 @@
     cxListClear(ctx->states);
     cxListClear(ctx->state_widgets);
     cxListClear(ctx->action_bindings);
+    uic_context_detach_all(ctx);
 }
 
 void uic_context_destroy(UiContext *ctx, void *document) {

mercurial