Avoid duplicated capturing
Merge pull request #8 from ppworks/avoid_duplicated_capturing

Avoid duplicated capturing