Don't log debug messages during close

This can hit race conditions where we might not have a fully functional
logger.
This commit is contained in:
Mike Place 2019-03-06 15:12:20 -07:00 committed by Ch3LL
parent 7ab1281a7d
commit f2b4ec8458
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -211,8 +211,6 @@ class AsyncZeroMQReqChannel(salt.transport.client.ReqChannel):
'''
if hasattr(self, 'message_client'):
self.message_client.destroy()
else:
log.debug('No message_client attr for AsyncZeroMQReqChannel found. Not destroying sockets.')
@property
def master_uri(self):