MCPcopy
hub / github.com/pyload/pyload / clean

Method clean

module/plugins/internal/Plugin.py:400–412  ·  view source on GitHub ↗

Remove references

(self)

Source from the content-addressed store, hash-verified

398 del frame #: Delete the frame or it wont be cleaned
399
400 def clean(self):
401 """
402 Remove references
403 """
404 try:
405 self.req.clearCookies()
406 self.req.close()
407
408 except Exception:
409 pass
410
411 else:
412 self.req = None

Callers

nothing calls this directly

Calls 2

clearCookiesMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected