def __del__(self):
        try:
            self.q.terminate()
            if self.db_was_read:
                self.store['cmd'] = self.cmd
                self.store['streams'] = self.streams
                self.store.close()
        except:
            pass
Grabs a snapshot of the currently installed packages.
dataset/ETHPy150Open gapato/livestreamer-curses/src/livestreamer_curses/streamlist.py/StreamList.__del__--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_virtual_machine.py/BaseLinuxMixin.SnapshotPackages