def teardown_module(): """ test rmr module teardown """ rmr.rmr_close(MRC_SEND) rmr.rmr_close(MRC_RCV)
def signal_handler(sig, frame): print('SIGINT received! Cleaning up rmr') rmr.rmr_close(mrc) print("Byeee") sys.exit(0)
def signal_handler(sig, frame): if verbose: print('SIGINT received! Cleaning up rmr') rmr.rmr_close(mrc) print("Exiting") sys.exit(0)