Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] gui.ControlledList: Take a weakref to listBox #2962

Merged
merged 1 commit into from
Mar 30, 2018

Conversation

ales-erjavec
Copy link
Contributor

Issue

ControlledList is created behind the back by gui.listBox and commonly used as a setting which gets synced into a GLOBAL SettingsHandler which keeps the OWWidget instance alive via a reference in listBox (see gui.listBox)

Description of changes

Take a weak ref to the listBox

Includes
  • Code changes
  • Tests
  • Documentation

@codecov-io
Copy link

Codecov Report

Merging #2962 into master will decrease coverage by <.01%.
The diff coverage is 41.66%.

@@            Coverage Diff             @@
##           master    #2962      +/-   ##
==========================================
- Coverage   81.86%   81.86%   -0.01%     
==========================================
  Files         329      329              
  Lines       56785    56788       +3     
==========================================
+ Hits        46486    46488       +2     
- Misses      10299    10300       +1

@astaric astaric added this to the 3.12 milestone Mar 30, 2018
@lanzagar lanzagar merged commit 68346c2 into biolab:master Mar 30, 2018
@ales-erjavec ales-erjavec deleted the fixes/controlled-list-memleak branch April 10, 2018 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants