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

Cancel pending idle callbacks #880

Merged
merged 1 commit into from
Apr 13, 2017
Merged

Conversation

Arcanemagus
Copy link
Member

If the package is requested to be deactivated before a pending idle callback has ran we should cancel that callback as there is no point in running it.

Should have been part of #875, but I hadn't thought of this race condition yet 😛.

If the package is requested to be deactivated before a pending idle
callback has ran we should cancel that callback as there is no point in
running it.
Copy link
Member

@IanVS IanVS left a comment

Choose a reason for hiding this comment

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

Good catch, LGTM.

@Arcanemagus Arcanemagus merged commit e79238e into master Apr 13, 2017
@Arcanemagus Arcanemagus deleted the arcanemagus/cancel-pending branch April 13, 2017 01:10
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