ui/common/context.c

changeset 1147
30476eaff3ba
parent 1145
57cc5fc047f3
child 1165
aca0b56e92d2
--- 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