mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #47317 from dwoz/threadshutdown
Do not join a thread that is stopped
This commit is contained in:
commit
629503b2a8
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ class TCPReqServerChannel(salt.transport.mixins.auth.AESReqServerMixin, salt.tra
|
|||
try:
|
||||
self.req_server.stop()
|
||||
except Exception as exc:
|
||||
log.debug("TCPReqServerChannel close generated an exception: %s", str(exc))
|
||||
log.exception('TCPReqServerChannel close generated an exception: %s', str(exc))
|
||||
|
||||
def __del__(self):
|
||||
self.close()
|
||||
|
|
Loading…
Add table
Reference in a new issue