mirror of
https://github.com/nasa/fprime-tools.git
synced 2025-12-10 09:55:16 -06:00
Fix new deployment shutdown with TcpServer (#283)
This commit is contained in:
parent
c8e3252f78
commit
5ab717bf75
@ -115,6 +115,9 @@ void teardownTopology(const TopologyState& state) {
|
|||||||
// Other task clean-up.
|
// Other task clean-up.
|
||||||
{%- if cookiecutter.com_driver_type == "UART" %}
|
{%- if cookiecutter.com_driver_type == "UART" %}
|
||||||
comDriver.quitReadThread();
|
comDriver.quitReadThread();
|
||||||
|
{%- elif cookiecutter.com_driver_type == "TcpServer" %}
|
||||||
|
comDriver.terminate();
|
||||||
|
comDriver.stop();
|
||||||
{%- else %}
|
{%- else %}
|
||||||
comDriver.stop();
|
comDriver.stop();
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user