diff -r ce0e443174d7 -r 8b8da1adef7d ui/cocoa/Toolbar.h --- a/ui/cocoa/Toolbar.h Sat Jun 06 16:53:39 2026 +0200 +++ b/ui/cocoa/Toolbar.h Sat Jun 06 18:04:54 2026 +0200 @@ -50,7 +50,7 @@ NSMutableArray *defaultItems; } -@property MainWindow *window; +@property (weak) MainWindow *window; @property UiObject *obj; - (UiToolbar*) initWithWindow:(MainWindow*)window;