正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
| @@ -85,6 +85,10 @@ public: | @@ -85,6 +85,10 @@ public: | ||
| 85 | 85 | ||
| 86 | /** | 86 | /** |
| 87 | * the config parser. | 87 | * the config parser. |
| 88 | +* for the config supports reload, so never keep the reference cross st-thread, | ||
| 89 | +* that is, never save the SrsConfDirective* get by any api of config, | ||
| 90 | +* for it maybe free in the reload st-thread cycle. | ||
| 91 | +* you can keep it before st-thread switch, or simply never keep it. | ||
| 88 | */ | 92 | */ |
| 89 | class SrsConfig | 93 | class SrsConfig |
| 90 | { | 94 | { |
-
请 注册 或 登录 后发表评论