Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevents a deferred task lambda from holding a ref on a scoped service. #4729

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

jtkech
Copy link
Member

@jtkech jtkech commented Nov 3, 2019

This by using a local variable in place of using a field of the scoped service

I did it in IndexingTaskManager the only place where there is this use case.

Then i also removed the lock on _tasksQueue because it is hold by a scoped service.

Already integrated in #4001.

@sebastienros sebastienros merged commit edad8c2 into dev Nov 4, 2019
@sebastienros sebastienros deleted the jtkech/indexing branch November 4, 2019 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants