Skip to content

Remove drawer history entry when drawer is disposed. - #5157

Merged
HansMuller merged 1 commit into
flutter:masterfrom
mpcomplete:drawer.history
Jul 29, 2016
Merged

HansMuller merged 1 commit into
flutter:masterfrom
mpcomplete:drawer.history

Conversation

@mpcomplete

Copy link
Copy Markdown
Contributor

BUG=#5103


@override
void dispose() {
_historyEntry?.remove();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A side effect of this is that _handleHistoryEntryRemoved starts the close animation (calls close()). Since the controller is stopped by the next statement, that's probably harmless.

@HansMuller

Copy link
Copy Markdown
Contributor

LGTM

@HansMuller
HansMuller merged commit f59d04b into flutter:master Jul 29, 2016
@mpcomplete
mpcomplete deleted the drawer.history branch August 1, 2016 17:45
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants