def __bus_destroy_cb(self, bus=None):
if DEBUG_LEVEL > 1:
sys.stderr.write("IMApp.__bus_destroy_cb(bus=%s)\n" % bus)
if self.destroyed:
return
print("finalizing:)")
self.__factory.do_destroy()
self.destroyed = True
self.__mainloop.quit()
if _ARGS.profile:
_PROFILE.disable()
stats = pstats.Stats(_PROFILE)
stats.strip_dirs()
stats.sort_stats('cumulative')
stats.print_stats('tabsqlite', 25)
stats.print_stats('hunspell_suggest', 25)
stats.print_stats('hunspell_table', 25)
stats.print_stats('itb_emoji', 25)
评论列表
文章目录