Skip to content

Commit 551b024

Browse files
committed
chore(Android): remove unregister listeners
1 parent b60b08e commit 551b024

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ class FreeraspReactNativeModule(private val reactContext: ReactApplicationContex
4040

4141
override fun onHostDestroy() {
4242
backgroundHandlerThread.quitSafely()
43-
reactContext.removeLifecycleEventListener(this)
44-
listener.unregisterListener(reactContext)
4543
}
4644
}
4745

0 commit comments

Comments
 (0)