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 1e4ab91 commit f12b921Copy full SHA for f12b921
src/Wt/Http/Client.C
@@ -1102,11 +1102,17 @@ void Client::handleRedirect(Http::Method method,
1102
void Client::emitDone(AsioWrapper::error_code err, const Message& response)
1103
{
1104
#ifdef WT_THREADED
1105
+ {
1106
std::unique_lock<std::recursive_mutex> lock(implementationMutex_);
1107
#endif
1108
1109
impl_.reset();
1110
redirectCount_ = 0;
1111
+
1112
+#ifdef WT_THREADED
1113
+ }
1114
+#endif
1115
1116
done_.emit(err, response);
1117
}
1118
0 commit comments