Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Make stopPolling / startPolling a no-op after unmount #3485

Merged
merged 1 commit into from Sep 11, 2019
Merged

Commits on Sep 11, 2019

  1. Make stopPolling / startPolling a no-op after unmount

    Polling is automatically stopped when a component is unmounted, so
    it isn't necessary to call `stopPolling` during component cleanup.
    If it is called though, we don't want to throw an exception, so
    these changes make it (and `startPolling`) a no-op if component
    cleanup has already happened.
    
    Fixes #3482
    hwillson committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    dd7b6fe View commit details
    Browse the repository at this point in the history