[Wasm] Pass js stack value directly when replacing a wasm exception with JS one
In this case, we don't need to convert a value to and from wasm String.
This commit is contained in:
committed by
Space Team
parent
6bfd1e7e9f
commit
521a272acb
@@ -22,7 +22,7 @@ public open class Throwable(open val message: String?, open val cause: kotlin.Th
|
||||
|
||||
constructor() : this(null, null)
|
||||
|
||||
private val jsStack: ExternalInterfaceType = captureStackTrace()
|
||||
internal val jsStack: ExternalInterfaceType = captureStackTrace()
|
||||
|
||||
private var _stack: String? = null
|
||||
internal val stack: String
|
||||
|
||||
Reference in New Issue
Block a user