diff --git a/launch/launch/actions/execute_local.py b/launch/launch/actions/execute_local.py index c10dde664..9eabaee5d 100644 --- a/launch/launch/actions/execute_local.py +++ b/launch/launch/actions/execute_local.py @@ -20,7 +20,6 @@ import os import platform import signal -import threading import traceback from typing import Any # noqa: F401 from typing import Callable @@ -75,9 +74,6 @@ from ..utilities.type_utils import normalize_typed_substitution from ..utilities.type_utils import perform_typed_substitution -_global_process_counter_lock = threading.Lock() -_global_process_counter = 0 # in Python3, this number is unbounded (no rollover) - class ExecuteLocal(Action): """Action that begins executing a process on the local system and sets up event handlers.""" diff --git a/launch/launch/actions/execute_process.py b/launch/launch/actions/execute_process.py index c28a9752f..e115ee8c9 100644 --- a/launch/launch/actions/execute_process.py +++ b/launch/launch/actions/execute_process.py @@ -15,7 +15,6 @@ """Module for the ExecuteProcess action.""" import shlex -import threading from typing import Dict from typing import Iterable from typing import List @@ -31,9 +30,6 @@ from ..some_substitutions_type import SomeSubstitutionsType from ..substitutions import TextSubstitution -_global_process_counter_lock = threading.Lock() -_global_process_counter = 0 # in Python3, this number is unbounded (no rollover) - @expose_action('executable') class ExecuteProcess(ExecuteLocal):