what is the best way to clean up in extcap?
Hi, I am learning extcap and need cleanup when stop capture. I debug the code a little bit, and seems Wireshark call TerminateProcess to force terminating the child extcap process. As a result, the extcap process has no chance to end (cleanup) gracefully.
I also read https://www.wireshark.org/docs/wsdg_h..., but it didn't mention how extcap process cleanup gracefully when stop capture.
Is there a recommended mechanism to archive this? Any help is appreciated, thanks.