Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Conversation

@chrismwendt
Copy link
Contributor

Previously, getActions() was being called multiple times (triggering multiple $observeDefinitions) for the same position because actionObservables is subscribed to twice.

This shares the result of getActions() across subscriptions.

Fixes https://github.com/sourcegraph/sourcegraph/issues/1321

Copy link
Contributor

@felixfbecker felixfbecker left a comment

Choose a reason for hiding this comment

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

Great find

@chrismwendt chrismwendt merged commit 684adc0 into master Feb 6, 2019
@chrismwendt chrismwendt deleted the fix-duplicate-definitions branch February 6, 2019 21:38
@sourcegraph-bot
Copy link

🎉 This PR is included in version 6.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sourcegraph sourcegraph deleted a comment from codecov bot Feb 6, 2019
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.

4 participants