Skip to content

Commit c85172b

Browse files
committed
cu_up: make sure we await on DL executor
1 parent 7a2e8a6 commit c85172b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/cu_up/ue_context.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,14 @@ class ue_context : public pdu_session_manager_ctrl
109109
CORO_AWAIT(execute_on_blocking(ue_exec_mapper->ctrl_executor(), timers));
110110
pdu_session_manager.disconnect_all_pdu_sessions();
111111

112-
// Switch to UE UL executor. Await pending UL crypto tasks.
112+
// Switch to UE UL executor. Flush pending UL tasks and
113+
// await pending UL crypto tasks.
113114
CORO_AWAIT(execute_on_blocking(ue_exec_mapper->ul_pdu_executor(), timers));
114115
CORO_AWAIT(pdu_session_manager.await_crypto_rx_all_pdu_sessions());
115116

117+
// Switch to UE DL executor. Flush pending DL tasks.
116118
// TODO await pending DL crypto tasks.
119+
CORO_AWAIT(execute_on_blocking(ue_exec_mapper->dl_pdu_executor(), timers));
117120

118121
// Return to UE control executor and stop UE specific executors.
119122
CORO_AWAIT(execute_on_blocking(ue_exec_mapper->ctrl_executor(), timers));

0 commit comments

Comments
 (0)