Benjamin Bannier created MESOS-6158:
---------------------------------------

             Summary: Docker executor uses callback capturing this which isn't 
dispatched/deferred
                 Key: MESOS-6158
                 URL: https://issues.apache.org/jira/browse/MESOS-6158
             Project: Mesos
          Issue Type: Bug
          Components: docker
    Affects Versions: 1.0.0
            Reporter: Benjamin Bannier


Our custom clang-tidy checks identified the following use of {{this}} capture 
without {{dispatch}} / {{defer}}.

{code}
src/docker/executor.cpp:396:38: warning: callback capturing this should be 
dispatched/deferred to a specific PID [mesos-this-capture]
      .after(DOCKER_INSPECT_TIMEOUT, [=](const Future<Nothing>&) {
                                     ^
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to