Fix native CLI TCP regression path
This commit is contained in:
1 parent
aa1b74620e
commit
402b8bb1b3
14 files changed
+204
-22
No files matched your search
@@ -13,6 +13,8 @@ import org.khronos.webgl.Uint8Array
|
||||
|
||||
actual fun getSystemNetEngine(): LyngNetEngine = jsNodeNetEngineOrNull ?: UnsupportedLyngNetEngine
|
||||
|
||||
actual fun shutdownSystemNetEngine() {}
|
||||
|
||||
private val jsNodeNetEngineOrNull: LyngNetEngine? by lazy {
|
||||
if (!isNodeRuntime()) return@lazy null
|
||||
val net = requireNodeModule("net") ?: return@lazy null
|
||||
|
||||
Reference in new issue
Block a user