fix autorelease with no pool in place issue
Merge branch 'fix_autorelease' into development