summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Taaki <genjix@riseup.net>2014-03-17 15:24:49 (GMT)
committer Amir Taaki <genjix@riseup.net>2014-03-17 15:24:49 (GMT)
commitf9f4ddde9737ff64182ecdcdf717a3a49a623804 (patch)
treed00e40359aefdfab08f33ddee5360abf37e4c87d
parent7d1402129da7d13fdd3d38e0660314202ef60f54 (diff)
temporary fix for max sockets being triggered.
-rw-r--r--src/worker/worker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/worker/worker.cpp b/src/worker/worker.cpp
index 9893a5a..5a4f3da 100644
--- a/src/worker/worker.cpp
+++ b/src/worker/worker.cpp
@@ -30,6 +30,7 @@ void send_worker::queue_send(const outgoing_message& message)
int rc = socket.connect("inproc://trigger-send");
BITCOIN_ASSERT(rc == 0);
message.send(socket);
+ zsocket_destroy(context_.self(), socket.self());
}
request_worker::request_worker()