react-native-unistyles 2.0.0-beta.5 → 2.0.0-beta.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -88,7 +88,7 @@ extern "C"
88
88
  JNIEXPORT void JNICALL
89
89
  Java_com_unistyles_UnistylesModule_nativeDestroy(JNIEnv *env, jobject thiz) {
90
90
  unistylesRuntime.reset();
91
- env->DeleteGlobalRef(unistylesModule);
91
+ unistylesModule = nullptr;
92
92
  }
93
93
 
94
94
  extern "C"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-unistyles",
3
- "version": "2.0.0-beta.5",
3
+ "version": "2.0.0-beta.6",
4
4
  "description": "Level up your React Native StyleSheet",
5
5
  "scripts": {
6
6
  "test": "jest",