ui/common/object.c

changeset 870
e167cf006213
parent 802
cc73993a3ff9
child 886
6f5e02fcb7b9
--- a/ui/common/object.c	Tue Oct 21 12:34:17 2025 +0200
+++ b/ui/common/object.c	Tue Oct 21 16:20:51 2025 +0200
@@ -28,7 +28,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-
 #include "object.h"
 #include "context.h"
 
@@ -107,11 +106,15 @@
 }
 
 UiObject* uic_object_new_toplevel(void) {
+    fflush(stdout);
     CxMempool *mp = cxMempoolCreateSimple(256);
     UiObject *obj = cxCalloc(mp->allocator, 1, sizeof(UiObject));
+    fflush(stdout);
     obj->ctx = uic_context(obj, mp);
     obj->ctx->parent = ui_global_context();
+    fflush(stdout);
     uic_object_created(obj);
+    fflush(stdout);
     return obj;
 }
 

mercurial