mirror of
https://github.com/desktop/desktop
synced 2024-11-05 20:49:32 +00:00
Clear timer when unmounting menu
This commit is contained in:
parent
35f28f3300
commit
e217cc9340
1 changed files with 4 additions and 0 deletions
|
@ -202,4 +202,8 @@ export class AppMenu extends React.Component<IAppMenuProps, void> {
|
|||
public componentDidUpdate() {
|
||||
this.ensurePaneFocus()
|
||||
}
|
||||
|
||||
public componentWillUnmount() {
|
||||
this.clearExpandCollapseTimer()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue