Skip to content

Commit 33d77ac

Browse files
committed
Backport upstream fix for potential PCRE cache deadlock
See facebook#9032 for the upstream bug report and fix. Closes facebook#9032.
1 parent 2883d8e commit 33d77ac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hphp/util/concurrent-lru-cache.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ insert(const TKey& key, const TValue& value) {
282282
delete node;
283283
return false;
284284
}
285+
hashAccessor.release();
285286

286287
// Evict if necessary, now that we know the hashmap insertion was successful.
287288
size_t size = m_size.load();

0 commit comments

Comments
 (0)