We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0633ca commit e3185f1Copy full SHA for e3185f1
2 files changed
src/uing/group.cr
@@ -12,6 +12,7 @@ module UIng
12
end
13
14
def destroy
15
+ @child_ref.try &.release_ownership
16
@child_ref = nil
17
super
18
src/uing/window.cr
@@ -41,6 +41,8 @@ module UIng
41
@on_content_size_changed_box = nil
42
@on_closing_box = nil
43
@on_focus_changed_box = nil
44
45
+ @child_ref = nil
46
47
48
0 commit comments