Browse Source

1

congestion
Charlie Root 5 months ago
parent
commit
60e845ca94
  1. 2
      build_bsd_full.sh
  2. 4
      src/utun.c

2
build_bsd_full.sh

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
pkg install -y autoconf openssl #pkg install -y autoconf openssl
mkdir -p m4 mkdir -p m4
set -e set -e

4
src/utun.c

@ -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;

Loading…
Cancel
Save