mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-29 23:14:25 +01:00
server: remove the sleep from main loop
This commit is contained in:
@@ -503,7 +503,6 @@ main(int argc, char **argv) {
|
||||
}
|
||||
}
|
||||
lws_service(context, 0);
|
||||
usleep(10 * 1000); // 10ms
|
||||
}
|
||||
|
||||
lws_context_destroy(context);
|
||||
|
||||
Reference in New Issue
Block a user