Stop capture thread in DLL_PROCESS_DETACH
Merge pull request #356 from actboy168/fix-crash

Stop capture thread in DLL_PROCESS_DETACH