THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.

Revision history  [back]

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.