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:
parent
5fdc4142b9
commit
39c8e1ac2c
|
@ -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*
|
||||
|
|
Loading…
Reference in New Issue