| 228 | if constexpr (kTCPSocketEnabled) { |
| 229 | registerNativeModuleFactory(makeShared<TCPSocketModuleFactory>().toShared()); |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | if (Valdi::traceInitialization) { |
| 234 | VALDI_INFO(*_logger, "Initialized Valdi Runtime"); |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | void Runtime::removeUnusedResources() { |
| 239 | if (_javaScriptRuntime != nullptr) { |
| 240 | auto self = strongSmallRef(this); |
no test coverage detected