Cleanup bindings and viewport

This commit is contained in:
2026-06-16 01:15:06 -07:00
parent 6a81522c29
commit 3c2242cc08
6 changed files with 98 additions and 61 deletions

View File

@ -3054,13 +3054,6 @@ namespace {
}
}
#ifdef WITH_NETWORKING
WebSocketWrapper::initialize();
//kinc_log(KINC_LOG_LEVEL_INFO, "WebSocket client support initialized successfully");
HttpRequestWrapper::initialize();
//kinc_log(KINC_LOG_LEVEL_INFO, "Initializing native HTTP request support");
#endif
}
void start_runt(char *scriptfile) {
@ -4037,11 +4030,9 @@ int kickstart(int argc, char **argv) {
#ifdef WITH_WORKER
bind_worker_class(isolate, global_context);
#endif
#ifdef WITH_NETWORKING
//#ifndef WITH_UWS
//bind_socket_bridge(isolate, global_context);
//#endif
bind_websocket_class(isolate, global_context);
bind_httprequest_class(isolate, global_context);
WEBSOCKET_BIND_V8(isolate, global_context);
#endif