MCPcopy Index your code
hub / github.com/pyload/pyload / clean

Method clean

module/plugins/Plugin.py:607–617  ·  view source on GitHub ↗

clean everything and remove references

(self)

Source from the content-addressed store, hash-verified

605 self.log.debug("File %s not skipped, because it does not exists." % self.pyfile.name)
606
607 def clean(self):
608 """ clean everything and remove references """
609 if hasattr(self, "pyfile"):
610 del self.pyfile
611 if hasattr(self, "req"):
612 self.req.close()
613 del self.req
614 if hasattr(self, "thread"):
615 del self.thread
616 if hasattr(self, "html"):
617 del self.html

Callers 2

releaseMethod · 0.45

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected