mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-07-30 20:47:37 +02:00
[mqtt-client] fix stack-use-after-return
Reviewers: ivica Reviewed By: ivica Subscribers: korina Differential Revision: https://repo.mireo.local/D26354
This commit is contained in:
@ -28,7 +28,7 @@ void assign_tls_sni(const authority_path& ap, TlsContext& ctx, TlsStream& s);
|
||||
namespace detail {
|
||||
|
||||
template <typename Handler>
|
||||
decltype(auto) tracking_executor(const Handler& handler) {
|
||||
auto tracking_executor(const Handler& handler) {
|
||||
return asio::prefer(
|
||||
asio::get_associated_executor(handler),
|
||||
asio::execution::outstanding_work.tracked
|
||||
|
Reference in New Issue
Block a user