fix: improve doc link navigation and tree display

- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
This commit is contained in:
2026-03-19 12:44:08 +08:00
parent e003fe6513
commit 58a83f445a
1012 changed files with 56880 additions and 22 deletions

View File

@@ -0,0 +1,32 @@
# TaskSystem::DestroyTaskGroup
```cpp
void DestroyTaskGroup(TaskGroup* group)
```
销毁一个任务组并释放其资源。
**参数:**
- `group` - 要销毁的任务组指针
**返回:**
**复杂度:** O(1)
**注意:**
- 销毁时如果还有未完成的任务,这些任务将被取消。
- 传入 nullptr 无效果。
**示例:**
```cpp
TaskGroup* group = TaskSystem::Get().CreateTaskGroup();
// ... 添加任务 ...
TaskSystem::Get().DestroyTaskGroup(group);
```
## 相关文档
- [TaskSystem 总览](task-system.md) - 返回类总览
- [CreateTaskGroup](createtaskgroup.md) - 创建任务组