Add onDestroy
Merge pull request #7 from TakayukiHoshi1984/master

Add onDestroy