This PR fixes the shutdown methods in telemetry_utils.py and serial_manager.py by adding the correct method declaration.
Initially, on SIGTERM the shutdown methods in both of these classes are called. When a python process receives SIGTERM, the handler function receives two args which weren't previously handled. The first is the signal number as an int, the second is a stack frame object which represents the current execution frame at the time the signal was received.
This PR fixes the shutdown methods in
telemetry_utils.py
andserial_manager.py
by adding the correct method declaration.Initially, on SIGTERM the shutdown methods in both of these classes are called. When a python process receives SIGTERM, the handler function receives two args which weren't previously handled. The first is the signal number as an int, the second is a stack frame object which represents the current execution frame at the time the signal was received.