Wireshark-dev: Re: [Wireshark-dev] plugin's cleanup function
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Thu, 06 Mar 2008 18:35:49 +0100
Hi,

There's no API for that. Maybe we should create one, and modify packet_cleanup() to call them.
For now all you can do is register for exit(), assuming gtk_exit does that.
So atexit() or on_exit are your choices.

Thanx,
Jaap

Ravid Gabbay wrote:
Can my plugin register a cleanup function that will be called upon tshark termination?