Ask Your Question

Revision history [back]

Need to run shutdown code, where is best?

Is there a standard place to put shutdown code in the wireshark codebase? There are some system resources that I need to request as part of my tap and I know where to initialize the request for those resources. But other than hacking the termination code and releasing the resources there, is there some sort of routine for either a dissector or tap that gets called on shutdown that would be a better place for releasing the resources?

This is for Window OS though I imagine it would be applicable to all OSes.