Added memory leak debugging

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-05-01 10:53:03 +02:00
parent d7e80786d8
commit 9997da3946

View File

@ -247,4 +247,6 @@ def _prepare(args: argparse.Namespace) -> None:
if __name__ == "__main__": if __name__ == "__main__":
import gc
gc.set_debug(gc.DEBUG_LEAK | gc.DEBUG_STATS)
main() main()