Fix crash beacuse of cleared ref
Fix crash beacuse of cleared ref

NativeScript/NativeScript,hdeshev/NativeScript,hdeshev/NativeScript,hdeshev/NativeScript,NativeScript/NativeScript,genexliu/NativeScript,NativeScript/NativeScript,NativeScript/NativeScript,genexliu/NativeScript,NativeScript/NativeScript,genexliu/NativeScript