Fix race conditions on variable domain
Merge pull request #3 from jfaissolle/master

Fix race conditions on variable domain