mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-25 13:14:18 +01:00
server: add a tiny timeout to lws_service
This commit is contained in:
@@ -502,7 +502,7 @@ main(int argc, char **argv) {
|
||||
#endif
|
||||
}
|
||||
}
|
||||
lws_service(context, 0);
|
||||
lws_service(context, 10);
|
||||
}
|
||||
|
||||
lws_context_destroy(context);
|
||||
|
||||
Reference in New Issue
Block a user