def on_app_shutdown(self, app):
if self.filewatcher:<EOL><INDENT>self.filewatcher.stop()<EOL><DEDENT>if self.profile:<EOL><INDENT>self.upload_page.on_destroy()<EOL>self.download_page.on_destroy()<EOL><DEDENT>
Dump profile content to disk