Skip to content
This repository was archived by the owner on Apr 16, 2018. It is now read-only.
This repository was archived by the owner on Apr 16, 2018. It is now read-only.

crash when i quit the page where the listview is. #6

@MatthieuPeyrot

Description

@MatthieuPeyrot

hi

I'm using react-native-router-flux and your module listview. i have an issue when moving from the page where the listview is to another page. my application crash instantly.

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x15d96eaa0 of class RNNativeListview was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x15e0d5b10> (
<NSKeyValueObservance 0x15e661d00: Observer: 0x15d96eaa0, Key path: self.numRows, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x15e05e810>
<NSKeyValueObservance 0x15e3e1c50: Observer: 0x15e661d00, Key path: numRows, Options: <New: YES, Old: NO, Prior: NO> Context: 0x0, Property: 0x15e3e2030>
)'
*** First throw call stack:
(0x183a12db0 0x183077f80 0x183a12cf8 0x184366d80 0x183091ae8 0x1838f09fc 0x1839c6bc0 0x1838f0c50 0x1851d8088 0x188bda088 0x10009766c 0x18348e8b8)
libc++abi.dylib: terminating with uncaught exception of type NSException

Do you have an idea where this come from ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions