Skip to content

Commit

Permalink
Hotfix comDriver shutdown (#162)
Browse files Browse the repository at this point in the history
* Hotfix comDriver shutdown

* Update {{cookiecutter.deployment_name}}Topology.cpp
  • Loading branch information
thomas-bc committed Aug 18, 2023
1 parent e1b7b6a commit 497e786
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ void teardownTopology(const TopologyState& state) {
comDriver.quitReadThread();
(void)comDriver.join(nullptr);
{%- else %}
{%- if (cookiecutter.com_driver_type == "TcpServer") %}
comDriver.shutdown();
{%- endif %}
comDriver.stopSocketTask();
(void)comDriver.joinSocketTask(nullptr);
{%- endif %}
Expand Down

0 comments on commit 497e786

Please sign in to comment.