fix panic when close with not start in sdk

pull/298/head
刘河 2019-12-08 23:31:53 +08:00
parent ac38d342fa
commit 999fac8ad7
1 changed files with 3 additions and 1 deletions

View File

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