GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: fix race on process exit and off thread CA loading · nodejs/node@15fa779

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/api
    • environment.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/api/environment.cc‎

Copy file name to clipboardExpand all lines: src/api/environment.cc
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#include <cstdlib>
2+
#if HAVE_OPENSSL
3+
#include "crypto/crypto_util.h"
4+
#endif // HAVE_OPENSSL
25
#include "env_properties.h"
36
#include "node.h"
47
#include "node_builtins.h"
@@ -1024,6 +1027,11 @@ void DefaultProcessExitHandlerInternal(Environment* env, ExitCode exit_code) {
10241027
// in node_v8_platform-inl.h
10251028
uv_library_shutdown();
10261029
DisposePlatform();
1030+
1031+
#if HAVE_OPENSSL
1032+
crypto::CleanupCachedRootCertificates();
1033+
#endif // HAVE_OPENSSL
1034+
10271035
Exit(exit_code);
10281036
}
10291037

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.