crypto: Use reference count to manage cert_store · nodejs/node@bf882fb · GitHub
Skip to content

Commit bf882fb

Browse files
AdamMajerMylesBorins
authored andcommitted
crypto: Use reference count to manage cert_store
Setting reference count at the time of setting cert_store instead of trying to manage it by modifying internal states in destructor. PR-URL: #9409 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
1 parent d3a7fb8 commit bf882fb

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

src/node_crypto.cc

Lines changed: 2 additions & 0 deletions

src/node_crypto.h

Lines changed: 0 additions & 7 deletions

0 commit comments

Comments
 (0)