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,8 +31,10 @@ func GetClientStatus() int {
//export CloseClient
func CloseClient() {
if cl != nil {
cl.Close()
}
}
//export Version
func Version() *C.char {