Skip to content

Mavlink Tunnel Example, .join called on function not thread #61

@ForrestFire0

Description

@ForrestFire0

In master branch, the join method is called on the function and not the thread.

tcp_server_loop_thread = threading.Thread(target=tcp_server_loop)
tcp_server_loop_thread.start()

# Running the node until the application is terminated or until first error.
try:
    node.spin()
except KeyboardInterrupt:
    tcp_server_loop.join()  
    if connection:
        connection.close()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions