summaryrefslogtreecommitdiff
path: root/python/debuginfo.py
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2023-02-09 16:52:36 -0500
committerRusty Wagner <rusty.wagner@gmail.com>2023-02-09 18:28:46 -0500
commite71d12a6147d0a2dfe6ead94d31db30d36792087 (patch)
treef053ad326cc06e46a4996a1a45b7dba35d85c801 /python/debuginfo.py
parent4f249cc20079752818605badd364d102cd597231 (diff)
Fix crash caused by race condition on freeing plugin BinaryViews
`FreeObjectReference` on `BinaryView` can be deferred to not block the UI on teardown of large binary views. This causes `ReleaseForRegistration` to be called at a later time, which could cause a race that permitted two threads to delete the object at the same time. Moving the `FreeObjectReference` to be after the API reference release causes `ReleaseForRegistration` to be always called after all API references have been completed, so it will no longer free twice.
Diffstat (limited to 'python/debuginfo.py')
0 files changed, 0 insertions, 0 deletions