diff options
author | dec05eba <0xdec05eba@gmail.com> | 2018-06-09 21:32:20 +0200 |
---|---|---|
committer | dec05eba <0xdec05eba@gmail.com> | 2018-06-09 21:32:23 +0200 |
commit | be9d387bf558e162c37adcd6d5b1b387f2181848 (patch) | |
tree | ee90605cd958e1ea673565a06d0f7d91a7fba1cf /src/DirectConnection.cpp | |
parent | 050e586036c63dec6bcf7edc84ce1f2ce3518d3a (diff) |
Fix crash in send method, add debug
Diffstat (limited to 'src/DirectConnection.cpp')
-rw-r--r-- | src/DirectConnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DirectConnection.cpp b/src/DirectConnection.cpp index 03fc27c..3108410 100644 --- a/src/DirectConnection.cpp +++ b/src/DirectConnection.cpp @@ -121,7 +121,7 @@ namespace sibs }).detach(); } - void DirectConnections::send(const std::shared_ptr<DirectConnectionPeer> &peer, std::shared_ptr<std::vector<u8>> data, PubSubSendDataCallback sendDataCallbackFunc) + void DirectConnections::send(const std::shared_ptr<DirectConnectionPeer> peer, std::shared_ptr<std::vector<u8>> data, PubSubSendDataCallback sendDataCallbackFunc) { // TODO: Replace this with light-weight threads (fibers)? std::thread([peer, data, sendDataCallbackFunc]() |