Browse Source

Merge pull request #8607 from electron/fix-win32-link

Fix missing of symbols when linking win32 build
Kevin Sawicki 8 years ago
parent
commit
e6fe2a93f2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      atom/node/osfhandle.cc

+ 2 - 0
atom/node/osfhandle.cc

@@ -24,6 +24,8 @@ void ReferenceSymbols() {
   // for some reason, adding them to ForceSymbolReferences does not work,
   // probably because of VC++ bugs.
   v8::TracingCpuProfiler::Create(nullptr);
+  reinterpret_cast<v8_inspector::V8InspectorSession*>(nullptr)->
+      canDispatchMethod(v8_inspector::StringView());
   reinterpret_cast<v8_inspector::V8InspectorClient*>(nullptr)->unmuteMetrics(0);
 }