Fix merge wart

This commit is contained in:
Daniel A. Wozniak 2019-04-10 18:20:31 +00:00
parent 82150f0241
commit 0141b7f744
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61

View file

@ -358,16 +358,6 @@ class IPCClient(object):
if self._closing:
return
if self._refcount > 1:
# Decrease refcount
with self._refcount_lock:
self._refcount -= 1
log.debug(
'This is not the last %s instance. Not closing yet.',
self.__class__.__name__
)
return
self._closing = True
log.debug('Closing %s instance', self.__class__.__name__)