Page MenuHomePhorge

D25446.1734679268.diff
No OneTemporary

D25446.1734679268.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
Fri, Dec 20, 07:21 (24 m, 19 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016355
Default Alt Text
D25446.1734679268.diff (960 B)

Event Timeline