daemon/core/session.py
def shutdown(self):
        ''' Shut down all emulation objects and remove the session directory.
        '''
        if hasattr(self, 'emane'):
            self.emane.shutdown()
        if hasattr(self, 'broker'):
            self.broker.shutdown()
        if hasattr(self, 'sdt'):
            self.sdt.shutdown()
        self.delobjs()
        preserve = False
        if hasattr(self.options, 'preservedir'):
            if self.options.preservedir == '1':
                preserve = True
        if not preserve:
            shutil.rmtree(self.sessiondir, ignore_errors = True)
        if self.server:
            self.server.delsession(self)
        self.delsession(self)
 Shut down all emulation objects and remove the session directory.
        
Shut down all emulation objects and remove the session directory.
Shut down all emulation objects and remove the session directory .
def shutdown(self):
        if hasattr(self, 'emane'):
            self.emane.shutdown()
        if hasattr(self, 'broker'):
            self.broker.shutdown()
        if hasattr(self, 'sdt'):
            self.sdt.shutdown()
        self.delobjs()
        preserve = False
        if hasattr(self.options, 'preservedir'):
            if self.options.preservedir == '1':
                preserve = True
        if not preserve:
            shutil.rmtree(self.sessiondir, ignore_errors = True)
        if self.server:
            self.server.delsession(self)
        self.delsession(self)
def shutdown ( self ) : if hasattr ( self , 'emane' ) : self . emane . shutdown ( ) if hasattr ( self , 'broker' ) : self . broker . shutdown ( ) if hasattr ( self , 'sdt' ) : self . sdt . shutdown ( ) self . delobjs ( ) preserve = False if hasattr ( self . options , 'preservedir' ) : if self . options . preservedir == '1' : preserve = True if not preserve : shutil . rmtree ( self . sessiondir , ignore_errors = True ) if self . server : self . server . delsession ( self ) self . delsession ( self )
Shut down all emulation objects and remove the session directory.
Shut down all emulation objects and remove the session directory .
''' Shut down all emulation objects and remove the session directory.
        '''
self