Page MenuHomePhorge

D25446.1736968251.diff
No OneTemporary

D25446.1736968251.diff

diff --git a/src/moduleutils/PhutilLibraryMapBuilder.php b/src/moduleutils/PhutilLibraryMapBuilder.php
--- a/src/moduleutils/PhutilLibraryMapBuilder.php
+++ b/src/moduleutils/PhutilLibraryMapBuilder.php
@@ -469,10 +469,12 @@
$this->fileSymbolMap = $symbol_map;
- // We're done building the cache, so write it out immediately. Note that
- // we've only retained entries for files we found, so this implicitly cleans
- // out old cache entries.
- $this->writeSymbolCache($symbol_map, $source_map);
+ if ($futures) {
+ // We're done building/updating the cache, so write it out immediately.
+ // Note that we've only retained entries for files we found, so this
+ // implicitly cleans out old cache entries.
+ $this->writeSymbolCache($symbol_map, $source_map);
+ }
// Our map is up to date, so either show it on stdout or write it to disk.
$this->librarySymbolMap = $this->buildLibraryMap($symbol_map);

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 15, 19:10 (5 d, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111658
Default Alt Text
D25446.1736968251.diff (960 B)

Event Timeline