fix: exit not properly exported in wasm
This commit is contained in:
parent
53dd352c95
commit
23a55f772b
|
@ -89,7 +89,7 @@ func start() int {
|
||||||
return callbackId
|
return callbackId
|
||||||
}
|
}
|
||||||
|
|
||||||
// exit write
|
//export exit
|
||||||
func exit() {
|
func exit() {
|
||||||
exitChan <- true
|
exitChan <- true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue