

def cleanup():
    global TRANSPORT, NOTIFICATION_TRANSPORT, LEGACY_NOTIFIER, NOTIFIER
    assert (TRANSPORT is not None)
    assert (NOTIFICATION_TRANSPORT is not None)
    assert (LEGACY_NOTIFIER is not None)
    assert (NOTIFIER is not None)
    TRANSPORT.cleanup()
    NOTIFICATION_TRANSPORT.cleanup()
    TRANSPORT = NOTIFICATION_TRANSPORT = LEGACY_NOTIFIER = NOTIFIER = None

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/rpc.py cleanup/original