Fix new deployment shutdown with TcpServer (#283)

This commit is contained in:
M Starch 2025-08-06 16:58:17 -07:00 committed by GitHub
parent c8e3252f78
commit 5ab717bf75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -115,6 +115,9 @@ void teardownTopology(const TopologyState& state) {
// Other task clean-up.
{%- if cookiecutter.com_driver_type == "UART" %}
comDriver.quitReadThread();
{%- elif cookiecutter.com_driver_type == "TcpServer" %}
comDriver.terminate();
comDriver.stop();
{%- else %}
comDriver.stop();
{%- endif %}