Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

comment out stack recording

  • Loading branch information...
commit 2169476276f96265f76c2d0793f53ea7bebe2366 1 parent 53406cd
@ry ry authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/node_events.cc
View
4 src/node_events.cc
@@ -2,6 +2,8 @@
#include <node_events.h>
#include <node.h>
+#define RECORD 0
+
namespace node {
using namespace v8;
@@ -178,6 +180,7 @@ void EventSource::RecordStack() {
ClearStack();
// Assume inside HandleScope
+#if RECORD
Local<StackTrace> trace =
StackTrace::CurrentStackTrace(kFrameLimit, StackTrace::kOverview);
@@ -188,6 +191,7 @@ void EventSource::RecordStack() {
parent_source_ = Persistent<Object>::New(current_source->handle_);
parent_source_.MakeWeak(this, WeakParent);
}
+#endif
}
Please sign in to comment.
Something went wrong with that request. Please try again.