From 2ec4153be4f0b435f7be1e8ac8a908438935359d Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Tue, 30 Apr 2019 18:21:03 +0200 Subject: [PATCH] Added debugging of memory leak Signed-off-by: Jim Martens --- src/twomartens/masterthesis/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/twomartens/masterthesis/main.py b/src/twomartens/masterthesis/main.py index 743fa5a..8be2729 100644 --- a/src/twomartens/masterthesis/main.py +++ b/src/twomartens/masterthesis/main.py @@ -22,6 +22,8 @@ Functions: """ import argparse +import gc + def main() -> None: """ @@ -245,4 +247,5 @@ def _prepare(args: argparse.Namespace) -> None: if __name__ == "__main__": + gc.set_debug(gc.DEBUG_LEAK) main()