Skip to content

Commit

Permalink
Also manage graceful shutdown of already started async requests
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Draebing <thomas.draebing@sap.com>
  • Loading branch information
thomasdraebing committed Aug 19, 2020
1 parent 37a8e44 commit a46ed5b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -189,7 +189,7 @@ else if (_wrapWarning.compareAndSet(false, true))
_dispatchedStats.decrement();
_dispatchedTimeStats.record(dispatched);

if (state.isSuspended())
if (state.isSuspended() || state.isAsyncStarted())
{
if (state.isInitial())
{
Expand Down

0 comments on commit a46ed5b

Please sign in to comment.