commit | a2082ac6a35289d99540cf8c6c42edcea31c6534 | [log] [tgz] |
---|---|---|
author | Vincent Pelletier <plr.vincent@gmail.com> | Tue Sep 07 10:41:09 2021 |
committer | Vincent Pelletier <plr.vincent@gmail.com> | Tue Sep 07 10:41:09 2021 |
tree | 91853fedc1788c6677d71591ce1a1942b21d8417 | |
parent | 2524321efef751c09dc56323e026d6dced727369 [diff] |
usb1: Detach finalizer on duplicate registration in *.__registerFinalizer Also, make the detection mendatory. It should only trigger on an internal bug, so an assertion was kind of appropriate... But not detecting this (when running on a python with assertions disabled) could lead to double-frees.