From 181c7d7388d7f36bbc29e6b6879983f045802871 Mon Sep 17 00:00:00 2001 From: Alexis Schad Date: Thu, 24 Jun 2021 10:55:14 +0200 Subject: [PATCH] Fix memory leak in rosgraph for kernel < 4.16 and Python 3 --- tools/rosgraph/src/rosgraph/xmlrpc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/rosgraph/src/rosgraph/xmlrpc.py b/tools/rosgraph/src/rosgraph/xmlrpc.py index 7b87520c0e..023a6ee3d1 100644 --- a/tools/rosgraph/src/rosgraph/xmlrpc.py +++ b/tools/rosgraph/src/rosgraph/xmlrpc.py @@ -114,8 +114,7 @@ class ThreadingXMLRPCServer(socketserver.ThreadingMixIn, SimpleXMLRPCServer): requests via threading. Also makes logging toggleable. """ - if _support_http_1_1(): - daemon_threads = True + daemon_threads = True def __init__(self, addr, log_requests=1): """