We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb7496 commit 20e3a13Copy full SHA for 20e3a13
ClientSource/Connection/PABotBase.cpp
@@ -157,6 +157,10 @@ void PABotBase::wait_for_all_requests(const Cancellable* cancelled){
157
ReadSpinLock lg0(m_state_lock);
158
throw InvalidConnectionStateException(m_error_message);
159
}
160
+ if (m_error.load(std::memory_order_acquire)){
161
+ ReadSpinLock lg0(m_state_lock);
162
+ throw ConnectionException(&m_logger, m_error_message);
163
+ }
164
{
165
ReadSpinLock lg1(m_state_lock, "PABotBase::wait_for_all_requests()");
166
#if 0
0 commit comments