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

var scope variables to make component thread safe #1

Merged
merged 2 commits into from
Oct 24, 2014

Conversation

clarkie
Copy link
Contributor

@clarkie clarkie commented Sep 17, 2014

I found we were getting errors like Element at position [1] doesn't exist in array and after a bit of debugging I found that var scoping the arrays fixed the issue.

Tested on Railo 4.1.2.005

@MWers
Copy link
Owner

MWers commented Oct 24, 2014

Sorry for the super slow response, @clarkie. I just somehow missed the notification for your pull request. I'll take a look in the morning. Thanks!

@MWers
Copy link
Owner

MWers commented Oct 24, 2014

Just took a look. I ran into a couple minor problems with CF8 complaining if vars aren't declared at the top of functions but it's not a big issue. I'm going to merge your pull request and then will fix the problems causing CF8 to squawk.

Thanks for contributing!

MWers added a commit that referenced this pull request Oct 24, 2014
var scope variables to make component thread safe
@MWers MWers merged commit 33aab85 into MWers:master Oct 24, 2014
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.

2 participants