- 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
24 lines
359 B
Markdown
24 lines
359 B
Markdown
# ResourceCache::Flush
|
|
|
|
```cpp
|
|
void Flush()
|
|
```
|
|
|
|
清空缓存,释放所有资源。将所有缓存条目标记为待释放状态,调用每个资源的 `Release()` 方法。
|
|
|
|
**参数:** 无
|
|
|
|
**返回:** 无
|
|
|
|
**复杂度:** O(n)
|
|
|
|
**示例:**
|
|
|
|
```cpp
|
|
cache.Flush();
|
|
```
|
|
|
|
## 相关文档
|
|
|
|
- [ResourceCache 总览](resourcecache.md) - 返回类总览
|