fixes crash when tearing down view hierarchies
Merge pull request #28 from lumoslabs/patbarry/viewTeardownCrash

fixes crash when tearing down view hierarchies