def cleanup(self):
     from quodlibet import config, const
     if self.api_version == 1:
         ql.quit(self.instance)
         config.write(const.CONFIG)
     elif self.api_version == 2:
         from quodlibet.util import copool
         copool.remove_all()
         config.save(const.CONFIG)
     config.quit()
Example #2
0
 def __destroy(self):
     config.write(const.CONFIG)
     if self.current_scan_dirs != get_scan_dirs():
         scan_library(app.library, force=False)
Example #3
0
 def __destroy(self):
     config.write(const.CONFIG)