Merge pull request #1008 from dalkon/master

Add missing __gc for Condition & Bug fix
Remove unused parameter