def close(self):
        try:
            logger.debug('Closing ResourceManager (session: %s)', self.session)
            self.visalib.close(self.session)
            self.session = None
            self.visalib.resource_manager = None
        except errors.InvalidSession:
            pass
Run the chain of callbacks once a result is available.
dataset/ETHPy150Open hgrecco/pyvisa/pyvisa/highlevel.py/ResourceManager.close--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/internet/defer.py/Deferred._runCallbacks