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

Fix PaneContainer::onDidStopChangingActivePaneItem() #14375

Merged
merged 2 commits into from
Jun 9, 2017

Conversation

matthewwithanm
Copy link
Contributor

We we're allowing subscription to this event, but never actually triggering it 😨

This is mostly copypasta from the implementation in workspace. lmk if you'd prefer something different.

I also added a test for onDidChangeActivePane() which I can separate into another commit if you want or drop entirely. (I was attempting to repro the other part of #14369 but it seems to work for me.)

cc @BinaryMuse @nathansobo

@matthewwithanm
Copy link
Contributor Author

Do I need to avoid setTimeout for the snapshot to work?

@BinaryMuse
Copy link
Contributor

Ah, yeah, if one of these is created during the snapshotting phase, then globals like setTimeout aren't available.

@matthewwithanm matthewwithanm force-pushed the fb-mdt-ondidstopchangingactivepaneitem branch 2 times, most recently from 28c74ee to 14c7c67 Compare May 9, 2017 17:27
@nathansobo
Copy link
Contributor

@damieng do you think the timeouts on 32-bit windows are spurious failures?

@nathansobo
Copy link
Contributor

@damieng Nevermind. The build failures are my fault.

@nathansobo nathansobo force-pushed the fb-mdt-ondidstopchangingactivepaneitem branch from 14c7c67 to 3929687 Compare May 10, 2017 17:56
@nathansobo
Copy link
Contributor

nathansobo commented May 10, 2017

Rebased. I think our build should be green now.

@matthewwithanm matthewwithanm force-pushed the fb-mdt-ondidstopchangingactivepaneitem branch from 3929687 to 26d9579 Compare June 8, 2017 23:44
@maxbrunsfeld maxbrunsfeld merged commit c6bf86c into master Jun 9, 2017
@matthewwithanm matthewwithanm deleted the fb-mdt-ondidstopchangingactivepaneitem branch June 9, 2017 00:26
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.

6 participants