def on_signout_action_activated(self, action, params):
if self.profile:<EOL><INDENT>self.upload_page.pause_tasks()<EOL>self.download_page.pause_tasks()<EOL>self.show_signin_dialog(auto_signin=False)<EOL><DEDENT>
在退出登录前, 应该保存当前用户的所有数据