Remove process.unloop()

This commit is contained in:
Ryan Dahl 2010-03-04 11:51:39 -08:00
parent 409020a67d
commit 1e710cafa7

View File

@ -424,19 +424,6 @@ static Handle<Value> Loop(const Arguments& args) {
return Undefined();
}
static Handle<Value> Unloop(const Arguments& args) {
HandleScope scope;
int how = EVUNLOOP_ONE;
if (args[0]->IsString()) {
String::Utf8Value how_s(args[0]->ToString());
if (0 == strcmp(*how_s, "all")) {
how = EVUNLOOP_ALL;
}
}
ev_unloop(EV_DEFAULT_ how);
return Undefined();
}
static Handle<Value> Chdir(const Arguments& args) {
HandleScope scope;
@ -1049,7 +1036,6 @@ static void Load(int argc, char *argv[]) {
// define various internal methods
NODE_SET_METHOD(process, "loop", Loop);
NODE_SET_METHOD(process, "unloop", Unloop);
NODE_SET_METHOD(process, "compile", Compile);
NODE_SET_METHOD(process, "_byteLength", ByteLength);
NODE_SET_METHOD(process, "reallyExit", Exit);