vectorgrp / XCPlite

Simple implementation of the ASAM XCP on Ethernet protocol
MIT License
171 stars 93 forks source link

XcpServerReceiveThread can't be terminated cleanly #54

Closed truecarfield closed 1 month ago

truecarfield commented 2 months ago

How to reproduce it?

Init a XCP server on TCP a after terminating a XCP server on UDP using XcpEthServerShutdown() within the same process

What false behavior do you observe?

XcpServerReceiveThread isn't really destroyed when XcpEthServerShutdown() called, so the XCP server doesn't really reinited with TCP

What correct behavior do you expect?

XcpServerReceiveThread terminated cleanly when XcpEthServerShutdown() is called

RainerZ commented 2 months ago

Thanks Please check the latest commit on master, problem should be solved

truecarfield commented 2 months ago

Thanks Please check the latest commit on master, problem should be solved

Thanks for the update, plz take a look on this PR