diff options
| author | ruki <[email protected]> | 2025-11-03 22:48:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-11-07 15:01:56 +0800 |
| commit | fa6b4470bd96c8f23133b43ba563af1a25c04a11 (patch) | |
| tree | edee660393625343e96cce51bc3ebb9eb4939487 /xmake/modules/private/cache/build_cache.lua | |
| parent | 85980580cf9fab96edda2325b59fb315fed4a7ce (diff) | |
fix async thread
Diffstat (limited to 'xmake/modules/private/cache/build_cache.lua')
| -rw-r--r-- | xmake/modules/private/cache/build_cache.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/cache/build_cache.lua b/xmake/modules/private/cache/build_cache.lua index d3c0094d8..573d94550 100644 --- a/xmake/modules/private/cache/build_cache.lua +++ b/xmake/modules/private/cache/build_cache.lua @@ -339,7 +339,7 @@ function build(program, argv, opt) _g.cache_miss_total_time = (_g.cache_miss_total_time or 0) + (os.mclock() - cache_miss_start_time) end end - os.rm(cppinfo.cppfile) + os.tryrm(cppinfo.cppfile, {async = true, detach = true}) else _g.preprocess_error_count = (_g.preprocess_error_count or 0) + 1 end |
