pub fn register_handlers_with_shutdown(
router: &Arc<RequestRouter>,
bridge: &GatewayBridge,
shutdown_tx: Sender<bool>,
)Expand description
注册系统处理器,并把 daemon-owned shutdown signal 注入给 TestCmd。
C++ APIServer_TestCmd.cpp 的 exit 先回成功包,随后发
API_OMEvent_Command / GTW_Command_Exit 给网关主事件循环。Rust 生产路径
等价接入 futu-opend phase4 的统一 shutdown channel,避免业务 handler
直接 process::exit 绕过 surface graceful shutdown。