diff options
author | John Langford <jl@hunch.net> | 2014-04-14 21:45:25 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2014-04-14 21:45:25 +0400 |
commit | 76332c94bed9a472d81248720d8332dfb6a0dae3 (patch) | |
tree | 4fad7eeb20a4fb4766d06ff2e9577d0507080d2f /vowpalwabbit/parse_args.cc | |
parent | 4f5ad0830b312aab6d280cb90539d5cbdcef38b8 (diff) |
close sockets when finishing parallel compute
Diffstat (limited to 'vowpalwabbit/parse_args.cc')
-rw-r--r-- | vowpalwabbit/parse_args.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vowpalwabbit/parse_args.cc b/vowpalwabbit/parse_args.cc index 514a2266..60ab0564 100644 --- a/vowpalwabbit/parse_args.cc +++ b/vowpalwabbit/parse_args.cc @@ -1132,6 +1132,7 @@ namespace VW { if (all.final_prediction_sink[i] != 1) io_buf::close_file_or_socket(all.final_prediction_sink[i]); all.final_prediction_sink.delete_v(); + all.socks.~node_socks(); delete all.loss; delete &all; } |