Added memory leak debugging
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -247,4 +247,6 @@ def _prepare(args: argparse.Namespace) -> None:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import gc
|
||||
gc.set_debug(gc.DEBUG_LEAK | gc.DEBUG_STATS)
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user