Skip to content

Fix some setState-after-unmount in roomdirectory#3958

Merged
richvdh merged 1 commit intodevelopfrom
rav/roomdirectory_unmounting
May 18, 2017
Merged

Fix some setState-after-unmount in roomdirectory#3958
richvdh merged 1 commit intodevelopfrom
rav/roomdirectory_unmounting

Conversation

@richvdh
Copy link
Copy Markdown
Member

@richvdh richvdh commented May 18, 2017

Give the RoomDirectory and unmounted guard, and use it to avoid some setState
warnings. Also, cancel the filterTimeout (no point in leaving it around).

There are still plenty of other opportunities to setState after unmount, but
the filterTimeout was causing noise in the test.

Give the RoomDirectory and unmounted guard, and use it to avoid some setState
warnings. Also, cancel the filterTimeout (no point in leaving it around).

There are still plenty of other opportunities to setState after unmount, but
the filterTimeout was causing noise in the test.
@richvdh richvdh merged commit b886215 into develop May 18, 2017
@richvdh richvdh deleted the rav/roomdirectory_unmounting branch May 18, 2017 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants