tammela added a comment. @JDevlieghere
When writing this patch I noticed that there is no mechanism in-place to remove the Python/Lua function when the breakpoint is removed or when the callback function is replaced. The class that sets the callback provides `ClearCallback()` but it never calls into the `ScriptInterpreter` to clean up. Although the real world impact is not that big, it's crucial for a small memory footprint. Any thoughts on this? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D91508/new/ https://reviews.llvm.org/D91508 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits