mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
net/transport/tor: Release stream Mutex lock after obtaining a RendRequest
This commit is contained in:
@@ -225,6 +225,8 @@ impl PtListener for TorListenerIntern {
|
||||
return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted"))
|
||||
};
|
||||
|
||||
drop(rendreq_stream);
|
||||
|
||||
let mut streamreq_stream = match rendrequest.accept().await {
|
||||
Ok(v) => v,
|
||||
Err(e) => {
|
||||
|
||||
Reference in New Issue
Block a user