• Andrii Grynenko's avatar
    Make SingletonVault state use ReadPriority mutex · 4092256e
    Andrii Grynenko authored
    Summary: This fixes a deadlock possible when singleton chain is created concurrently with destroyInstances().
    
    Reviewed By: lbrandy, yfeldblum
    
    Differential Revision: D4329028
    
    fbshipit-source-id: a11b3ff42d164ead2f8e3e77e0e17be43a8ad306
    4092256e
Singleton.h 24 KB