Skip to content

Commit 53e05e1

Browse files
author
张钦
committed
Fix the hidden bug which may cause many inexplicable exceptions. For example, after changing the AuthorizationKey, RpcBase::start will be called, but m_results_queue is not set to true. As a result, many inexplicable issues will occur for all subsequent requests.
1 parent d442e7b commit 53e05e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rpc/RpcBase.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ void RpcBase::start()
231231
{
232232
// Start reception thread
233233
m_requests_queue.setEnable(true);
234+
m_results_queue.setEnable(true);
234235
m_rx_thread = new std::thread(std::bind(&RpcBase::rxThread, this));
235236
}
236237
}

0 commit comments

Comments
 (0)