diff options
author | hut <hut@hut.pm> | 2017-07-16 06:28:25 +0200 |
---|---|---|
committer | hut <hut@hut.pm> | 2017-07-16 06:29:24 +0200 |
commit | c33844e98dab1759960f27dad1dfa4b3c3fead25 (patch) | |
tree | 86fac92c31b3ad66bafb221ebc73b260d5b28db5 /.flake8 | |
parent | f3243faa22ffd78ef654cd7ae4357a908408ac19 (diff) | |
download | ranger-c33844e98dab1759960f27dad1dfa4b3c3fead25.tar.gz |
ext.lazy_property: don't redefine resetter function
Without this change, binding a signal to a resetter function with a weak reference would delete the signal after it's called, because the function would be disconnected from the object and market for garbage collection. Also adapted the test cases to check for this problem. For example, commit 22ffd78ef654cd7ae4357a908408ac19 binds vcs__reset() to the signal "setopt.vcs_aware" with a weak ref. Because of that, the signal is only triggered the first time the setting is changed.
Diffstat (limited to '.flake8')
0 files changed, 0 insertions, 0 deletions