remove GenerateExportHeader on Linux

Signed-off-by: xiehuc <xiehuc@gmail.com>
fix use-after-free when disconnected
Merge pull request #17 from HenryHu/master

fix use-after-free when disconnected
add a commit for use-after-free

Signed-off-by: xiehuc <xiehuc@gmail.com>