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