server: remove the sleep from main loop

This commit is contained in:
Shuanglei Tao
2019-11-26 21:55:42 +08:00
parent 28cbbdaa3d
commit 6d69f0a55d
2 changed files with 1 additions and 2 deletions

View File

@@ -503,7 +503,6 @@ main(int argc, char **argv) {
}
}
lws_service(context, 0);
usleep(10 * 1000); // 10ms
}
lws_context_destroy(context);