MCPcopy
hub / github.com/pyload/pyload / close

Method close

module/network/HTTPChunk.py:364–368  ·  view source on GitHub ↗

closes everything, unusable after this

(self)

Source from the content-addressed store, hash-verified

362 self.fp.close() # needs to be closed, or merging chunks will fail
363
364 def close(self):
365 """ closes everything, unusable after this """
366 if self.fp: self.fp.close()
367 self.c.close()
368 if hasattr(self, "p"): del self.p

Callers 4

_downloadMethod · 0.95
saveMethod · 0.45
loadMethod · 0.45
flushFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected