add closenotify
Merge pull request #1 from jixwanwang/master

add closenotify