Searched refs:shutdown_future (Results 1 – 1 of 1) sorted by relevance
28 PyObject *shutdown_future; member189 lifespan->shutdown_future = NULL; in nxt_py_asgi_lifespan_target_startup()379 lifespan->shutdown_future = PyObject_CallObject(ctx_data->loop_create_future, in nxt_py_asgi_lifespan_target_shutdown()381 if (nxt_slow_path(lifespan->shutdown_future == NULL)) { in nxt_py_asgi_lifespan_target_shutdown()388 lifespan->shutdown_future, NULL); in nxt_py_asgi_lifespan_target_shutdown()396 Py_CLEAR(lifespan->shutdown_future); in nxt_py_asgi_lifespan_target_shutdown()584 &lifespan->shutdown_future); in nxt_py_asgi_lifespan_send_shutdown()630 if (lifespan->shutdown_future != NULL) { in nxt_py_asgi_lifespan_done()631 future = lifespan->shutdown_future; in nxt_py_asgi_lifespan_done()632 lifespan->shutdown_future = NULL; in nxt_py_asgi_lifespan_done()