Skip to content

Commit

Permalink
force GC before wxListCtrl fully created
Browse files Browse the repository at this point in the history
  • Loading branch information
mcorino committed Nov 20, 2024
1 parent 5614a3e commit 80ce4e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_combo_ctrl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def init
end

def create(parent)
GC.start
# need to finish creating the list view here
# as calling super here would just call Wx::ComboPopup#create and not Wx::ListView#create
# we need to use Ruby magic
Expand Down

0 comments on commit 80ce4e9

Please sign in to comment.