Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Fix instance removal #85

Merged
merged 1 commit into from
Jan 30, 2017
Merged

Fix instance removal #85

merged 1 commit into from
Jan 30, 2017

Conversation

cshold
Copy link
Contributor

@cshold cshold commented Jan 23, 2017

My last PR wasn't quite right. When unloading a section we should fire the onUnload function of that instance if it exists and then remove it from this.instances.

Before this PR, the onUnload function of every remaining section would fire instead of the only one we really want.

@cshold cshold added the bug label Jan 23, 2017
@cshold cshold self-assigned this Jan 23, 2017
@cshold cshold requested review from bertiful and t-kelly January 23, 2017 21:31
Copy link
Contributor

@bertiful bertiful 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

@cshold cshold force-pushed the section-js-remove-fix branch from 4f82f6d to f739bc6 Compare January 23, 2017 22:09
@cshold cshold merged commit 17f65e0 into master Jan 30, 2017
@cshold cshold deleted the section-js-remove-fix branch January 30, 2017 20:22
t-kelly pushed a commit that referenced this pull request Jul 31, 2017
* update install guide to global

* version shorthand to lowercase v

* update contributing and global flag
t-kelly pushed a commit that referenced this pull request Jul 31, 2017
* update install guide to global

* version shorthand to lowercase v

* update contributing and global flag
t-kelly pushed a commit that referenced this pull request Jul 31, 2017
* update install guide to global

* version shorthand to lowercase v

* update contributing and global flag
@lock
Copy link

lock bot commented Oct 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants