git ignore
unregister during destructor to prevent crash
Merge pull request #1 from obviousjim/destructor-fix

Destructor fix