Add missing cleanup to statsd fixture
Change-Id: I282583fbbebb5030ce9c2bfa4bb578d28081750c
This commit is contained in:
parent
febe2a237d
commit
42abc49f10
|
@ -113,6 +113,7 @@ class StatsdFixture(fixtures.Fixture):
|
||||||
self.wake_read, self.wake_write = os.pipe()
|
self.wake_read, self.wake_write = os.pipe()
|
||||||
self.stats = []
|
self.stats = []
|
||||||
self.thread.start()
|
self.thread.start()
|
||||||
|
self.addCleanup(self._cleanup)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
while self.running:
|
while self.running:
|
||||||
|
|
Loading…
Reference in New Issue