fix for bsod; members of extension should be released before device object is deleted
Merge pull request #17 from sharrajesh/master

fix for bsod; members of extension should be released before device object is deleted.