Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

comment out stack recording

  • Loading branch information...
commit 2169476276f96265f76c2d0793f53ea7bebe2366 1 parent 53406cd
ry authored September 17, 2010

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  src/node_events.cc
4  src/node_events.cc
@@ -2,6 +2,8 @@
2 2
 #include <node_events.h>
3 3
 #include <node.h>
4 4
 
  5
+#define RECORD 0
  6
+
5 7
 namespace node {
6 8
 
7 9
 using namespace v8;
@@ -178,6 +180,7 @@ void EventSource::RecordStack() {
178 180
   ClearStack();
179 181
 
180 182
   // Assume inside HandleScope
  183
+#if RECORD
181 184
   Local<StackTrace> trace =
182 185
       StackTrace::CurrentStackTrace(kFrameLimit, StackTrace::kOverview);
183 186
 
@@ -188,6 +191,7 @@ void EventSource::RecordStack() {
188 191
     parent_source_ = Persistent<Object>::New(current_source->handle_);
189 192
     parent_source_.MakeWeak(this, WeakParent);
190 193
   }
  194
+#endif
191 195
 }
192 196
 
193 197
 

0 notes on commit 2169476

Please sign in to comment.
Something went wrong with that request. Please try again.