diff options
| author | luwenpeng <[email protected]> | 2024-11-25 17:44:03 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-11-27 11:43:40 +0800 |
| commit | 9ba56055b320cf00e5c96370029ec19836075247 (patch) | |
| tree | 43abbb97eff668e85339391d89d13a89052514a4 | |
| parent | 8e0afd9ab5d4a2436ab80ad506092c5f1109c18d (diff) | |
bugfix: sess_mgr->mod_mgr is NULL
| -rw-r--r-- | infra/session_manager/session_manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/infra/session_manager/session_manager.c b/infra/session_manager/session_manager.c index c69ebe6..16a8b6a 100644 --- a/infra/session_manager/session_manager.c +++ b/infra/session_manager/session_manager.c @@ -498,6 +498,7 @@ struct module *session_manager_on_init(struct module_manager *mod_mgr) { return NULL; } + sess_mgr->mod_mgr = mod_mgr; module_manager_register_polling_node(mod_mgr, on_polling, sess_mgr); struct module *sess_mgr_mod = module_new(SESSION_MANAGER_MODULE_NAME, NULL); |
