Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Dispose of subscriptions properly when deactivating #27

Merged
merged 1 commit into from
Nov 4, 2017

Conversation

winstliu
Copy link
Contributor

@winstliu winstliu commented Nov 4, 2017

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

Like previous PRs in other repos, this PR makes sure that all subscriptions are disposed when Timecop is deactivated. This ensures that the Command Palette stays uncluttered and that multiple Timecops are not created when repeatedly disabled and re-enabled.

Alternate Designs

None.

Benefits

Correct package deactivation.

Possible Drawbacks

None.

Applicable Issues

None.

@winstliu winstliu merged commit 5aadd57 into master Nov 4, 2017
@winstliu winstliu deleted the wl-subscriptions branch November 4, 2017 01:24
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.

1 participant