diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-02-24 17:08:23 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-02-24 17:08:23 -0800 |
commit | 8ecb170151e061f35d3799885ba63b5762f2057e (patch) | |
tree | 72040617028720bec5e5fe90008155d93008084c /test/cpp/qps/server.cc | |
parent | 2f3fa9acff3eb7cacbb590446eb9d5546a8a43ca (diff) |
Fix that race better
Diffstat (limited to 'test/cpp/qps/server.cc')
-rw-r--r-- | test/cpp/qps/server.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/qps/server.cc b/test/cpp/qps/server.cc index 89fdfeb0cb..7d9a9d1d28 100644 --- a/test/cpp/qps/server.cc +++ b/test/cpp/qps/server.cc @@ -185,11 +185,11 @@ static void RunServer() { } int main(int argc, char** argv) { + signal(SIGINT, sigint_handler); + grpc_init(); ParseCommandLineFlags(&argc, &argv, true); - signal(SIGINT, sigint_handler); - GPR_ASSERT(FLAGS_port != 0); RunServer(); |