def exit_later(): LOGGER.info('exit later') if fqsocks.gateways.proxy_client.ipv6_direct_enable: fqsocks.proxies.ipv6_direct.save_ipv6_host() shutdown_hook.execute() gevent.sleep(0.5) os._exit(1)
def exit_later(): LOGGER.info('exit later') shutdown_hook.execute() gevent.sleep(0.5) os._exit(1)