forked from LeenkxTeam/LNXRNT
Cleanup bindings and viewport
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user