chameleonbr / node-red-contrib-redis

Node RED client for Redis with pub/sub, list, lua scripting and other commands support.
MIT License
46 stars 40 forks source link

Fix wild topic variable in RedisOut #3

Closed inoc603 closed 8 years ago

inoc603 commented 8 years ago

Using an undefined variable as topic makes it global. When multiple messages with different topics arrive simultaneously, they would end up using the same topic. Declaring it as a local variable fix the problem.