mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
7cf5fbd8af
While the Louie system operated on weakrefs for the callback functions, the priority list wrapper did not. This difference led to weakrefs to callback functions being compared to strong references in list element operations within Louie's disconnect method, so that handler methods were not disconnected from signals. Converting the receiver to a weakref then allowed Louie to operate as normal, which may include deleting and re-appending the handler method to the receivers list. As ``append`` is a dummy method that allows the priority list implementation, the handler method is then never added back to the list of connected functions, so we must ``add`` it after ``connect`` is called. Also included is a testcase to confirm the proper disconnection of signals. |
||
---|---|---|
.. | ||
data | ||
travis | ||
__init__.py | ||
test_agenda_parser.py | ||
test_config.py | ||
test_diff.py | ||
test_exec_control.py | ||
test_execution.py | ||
test_plugin.py | ||
test_runtime_param_utils.py | ||
test_signal.py | ||
test_utils.py |