Skip to content
This repository was archived by the owner on Jul 22, 2020. It is now read-only.

Comments

Fix race condition in the matcher code#94

Merged
prymitive merged 2 commits intomasterfrom
timer-logs
May 9, 2017
Merged

Fix race condition in the matcher code#94
prymitive merged 2 commits intomasterfrom
timer-logs

Conversation

@prymitive
Copy link
Contributor

We have a static list of matchers, one for each kind, but newMatcher() was writing to those on every filter creation. Remove writes, set the attribute on matcher init instead.

prymitive added 2 commits May 9, 2017 17:47
We have a static list of matchers, one for each kind, but newMatcher() was writing to those on every filter creation. Remove writes, set the attribute on matcher init instead.
setOperator is no longer used, remove it as it's dangerous and useless
@prymitive prymitive added the bug label May 9, 2017
@prymitive prymitive requested a review from jamesog May 9, 2017 16:49
@prymitive prymitive merged commit 86671e4 into master May 9, 2017
@prymitive prymitive deleted the timer-logs branch May 9, 2017 16:55
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.

2 participants