commit | c3639bc23eaaed7fa94d377af42f00ddc5083de2 | [log] [tgz] |
---|---|---|
author | Benjamin Berg <bberg@redhat.com> | Fri Feb 04 22:50:28 2022 +0100 |
committer | Tormod Volden <debian.tormod@gmail.com> | Tue Mar 15 11:43:05 2022 +0100 |
tree | f9f3e7b24f2b4f6e4f92914a6ed7c188faae02b5 | |
parent | 4622bfcf44db373c53502e3fe873bd611e8332f6 [diff] |
core: Unset device ctx if it has been destroyed Devices can outlive their context in some cases (in particular with python garbage collection). Guard against this by clearing the ctx pointer so that it is not pointing to uninitialized memory. Closes #1058