diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/siggen.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py index ff6b24ccda..1612b4efa1 100644 --- a/bitbake/lib/bb/siggen.py +++ b/bitbake/lib/bb/siggen.py | |||
@@ -492,6 +492,12 @@ class SignatureGeneratorUniHashMixIn(object): | |||
492 | self._client = hashserv.create_client(self.server) | 492 | self._client = hashserv.create_client(self.server) |
493 | return self._client | 493 | return self._client |
494 | 494 | ||
495 | def reset(self, data): | ||
496 | if getattr(self, '_client', None) is not None: | ||
497 | self._client.close() | ||
498 | self._client = None | ||
499 | return super().reset(data) | ||
500 | |||
495 | def exit(self): | 501 | def exit(self): |
496 | if getattr(self, '_client', None) is not None: | 502 | if getattr(self, '_client', None) is not None: |
497 | self._client.close() | 503 | self._client.close() |