Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Tasks should be cancelled on reload, deprecate old methods #1459

Merged
merged 1 commit into from Feb 7, 2017
Merged

Tasks should be cancelled on reload, deprecate old methods #1459

merged 1 commit into from Feb 7, 2017

Conversation

MrPowerGamerBR
Copy link
Contributor

@MrPowerGamerBR MrPowerGamerBR commented Feb 3, 2017

Fixes #1458

The tasks were never cancelled on reload because the plugin instance was always "null", so the code to cancel on reload were never executed.

Also fixes Tasks "onCancel" methods.

This pull request is required for #1457

This was referenced Feb 3, 2017
@wu-vincent wu-vincent merged commit c4061a6 into Nukkit:master Feb 7, 2017
@MrPowerGamerBR MrPowerGamerBR deleted the task-fix branch February 17, 2017 00:06
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.

Tasks should be cancelled on reload
2 participants