示例#1
0
    def _on_shutdown(self):
        """
Callback for shutdown.

:since: v1.0.0
        """

        Hook.free()
示例#2
0
文件: mp.py 项目: dNG-git/mp_loader
    def _on_shutdown(self):
        """
Callback for shutdown.

:since: v0.2.00
        """

        Hook.call("dNG.pas.Status.onShutdown")

        if (self.cache_instance is not None): self.cache_instance.disable()
        Hook.free()