Skip to content

Commit

Permalink
PreciseDiff: Remove pseudo code view when unloading.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltfish committed Jan 17, 2025
1 parent 80e771a commit 6ccf9bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions angrmanagement/plugins/precise_diffing/precisediff_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ def _destroy_revised_view(self) -> None:
self.workspace.remove_view(self.current_revised_view)
del self.current_revised_view

if self.current_revised_code:
self.workspace.remove_view(self.current_revised_code)
del self.current_revised_code

self._differing_funcs = set()
if self.diff_instance:
del self.diff_instance
Expand Down

0 comments on commit 6ccf9bc

Please sign in to comment.