|
|
|
@ -409,13 +409,13 @@ int main(int argc, char *argv[]) { |
|
|
|
utun_instance_destroy(instance); |
|
|
|
utun_instance_destroy(instance); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
u_report_unfreed_blocks(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Destroy uasync instance after instance is destroyed
|
|
|
|
// Destroy uasync instance after instance is destroyed
|
|
|
|
if (ua) { |
|
|
|
if (ua) { |
|
|
|
uasync_destroy(ua, 0); |
|
|
|
uasync_destroy(ua, 0); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
u_report_unfreed_blocks(); |
|
|
|
|
|
|
|
|
|
|
|
remove_pidfile(args.pid_file); |
|
|
|
remove_pidfile(args.pid_file); |
|
|
|
socket_platform_cleanup(); |
|
|
|
socket_platform_cleanup(); |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
|