mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix status interval not clearing after logout (#4507)
This commit is contained in:
committed by
Harrison Healey
parent
4b3eceee70
commit
daf0490bbf
@@ -81,7 +81,6 @@ export default class NeedsTeam extends React.Component {
|
||||
if (tutorialStep <= TutorialSteps.INTRO_SCREENS) {
|
||||
browserHistory.push(TeamStore.getCurrentTeamRelativeUrl() + '/tutorial');
|
||||
}
|
||||
stopPeriodicStatusUpdates();
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
@@ -132,6 +131,7 @@ export default class NeedsTeam extends React.Component {
|
||||
if (UserAgent.isIosSafari()) {
|
||||
iNoBounce.disable();
|
||||
}
|
||||
stopPeriodicStatusUpdates();
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user