2
0
Fork 0

[tests] Explicit curl object cleanup

This commit is contained in:
Stefan Bühler 2010-10-05 13:20:56 +02:00
parent 688a17372f
commit f11b5f45c2
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ class CurlRequest(TestBase):
if not Env.debugRequests:
self.dump()
raise
finally:
c.close()
self.curl = None
return True