Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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_html/#ChCaptureExtcap, 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.