Use register_shutdown_routine, not cleanup_routine

register_cleanup_routine is called after reading a single capture
file. Since the async extraction is set up per plugin instead of
per-instance, we want register_shutdown_routine().

Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This commit is contained in:
Mark Stemm 2021-09-21 17:09:50 -07:00 committed by Gerald Combs
parent 5fdc4142b9
commit 39c8e1ac2c
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ proto_register_sdplugin(void)
proto_register_field_array(proto_sdplugin, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
register_cleanup_routine(on_wireshark_exit);
register_shutdown_routine(on_wireshark_exit);
}
static bridge_info*