MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / close

Method close

21-async/mojifinder/bottle.py:753–757  ·  view source on GitHub ↗

Close the application and all installed plugins.

(self)

Source from the content-addressed store, hash-verified

751 self.trigger_hook('app_reset')
752
753 def close(self):
754 ''' Close the application and all installed plugins. '''
755 for plugin in self.plugins:
756 if hasattr(plugin, 'close'): plugin.close()
757 self.stopped = True
758
759 def run(self, **kwargs):
760 ''' Calls :func:`run` with the same parameters. '''

Callers 7

insert_recordFunction · 0.45
do_GETMethod · 0.45
finderFunction · 0.45
uninstallMethod · 0.45
wsgiMethod · 0.45
closeMethod · 0.45
runFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected