Permalink
Browse files

comment out stack recording

  • Loading branch information...
1 parent 53406cd commit 2169476276f96265f76c2d0793f53ea7bebe2366 @ry ry committed Sep 17, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/node_events.cc
View
@@ -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
}

0 comments on commit 2169476

Please sign in to comment.