@functionland/react-native-fula 1.36.0 → 1.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1161,7 +1161,7 @@ public class FulaModule extends ReactContextBaseJavaModule {
1161
1161
 
1162
1162
  private void shutdownInternal() throws Exception {
1163
1163
  try {
1164
- if(this.fula != null) {
1164
+ if(this.fula != null || this.client != null) {
1165
1165
  this.fula.shutdown();
1166
1166
  this.fula = null;
1167
1167
  this.client = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionland/react-native-fula",
3
- "version": "1.36.0",
3
+ "version": "1.36.1",
4
4
  "description": "This package is a bridge to use the Fula libp2p protocols in the react-native which is using wnfs",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",