Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing return statement in _debugPause() binding.
  • Loading branch information
bnoordhuis committed Dec 19, 2011
1 parent 45605c9 commit aac717d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node.cc
Expand Up @@ -2515,6 +2515,7 @@ static Handle<Value> DebugProcess(const Arguments& args) {

static Handle<Value> DebugPause(const Arguments& args) {
v8::Debug::DebugBreak(node_isolate);
return Undefined();
}


Expand Down

2 comments on commit aac717d

@ry
Copy link

@ry ry commented on aac717d Dec 19, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@indutny it would be nice if the test would have caught this problem

@indutny
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow, sorry...

Please sign in to comment.