Skip to content

Commit

Permalink
msgr: remove dead kill_after code bits
Browse files Browse the repository at this point in the history
  • Loading branch information
liewegas committed Mar 11, 2010
1 parent 71cfe30 commit 4fdb6ce
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/msg/SimpleMessenger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2082,15 +2082,6 @@ int SimpleMessenger::bind(int64_t force_nonce)
return accepter.bind(force_nonce);
}


class C_Die : public Context {
public:
void finish(int) {
cerr << "die" << std::endl;
exit(1);
}
};

static void write_pid_file(int pid)
{
if (!g_conf.pid_file)
Expand Down Expand Up @@ -2180,10 +2171,6 @@ int SimpleMessenger::start(bool nodaemon)
write_pid_file(getpid());
}

// some debug hackery?
//if (g_conf.kill_after)
//qg_timer.add_event_after(g_conf.kill_after, new C_Die);

// go!
if (did_bind)
accepter.start();
Expand Down

0 comments on commit 4fdb6ce

Please sign in to comment.