fix panic when close with not start in sdk

This commit is contained in:
刘河 2019-12-08 23:31:53 +08:00
parent ac38d342fa
commit 999fac8ad7

View File

@ -31,7 +31,9 @@ func GetClientStatus() int {
//export CloseClient
func CloseClient() {
cl.Close()
if cl != nil {
cl.Close()
}
}
//export Version