[ https://issues.apache.org/jira/browse/MESOS-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715792#comment-14715792 ]
Greg Mann commented on MESOS-3158: ---------------------------------- Review here: https://reviews.apache.org/r/37821/ > Libprocess Process: Join runqueue workers during finalization > ------------------------------------------------------------- > > Key: MESOS-3158 > URL: https://issues.apache.org/jira/browse/MESOS-3158 > Project: Mesos > Issue Type: Improvement > Components: libprocess > Reporter: Joris Van Remoortere > Assignee: Greg Mann > Labels: beginner, libprocess, mesosphere, newbie > > The lack of synchronization between ProcessManager destruction and the thread > pool threads running the queued processes means that the shared state that is > part of the ProcessManager gets destroyed prematurely. > Synchronizing the ProcessManager destructor with draining the work queues and > stopping the workers will allow us to not require leaking the shared state to > avoid use beyond destruction. -- This message was sent by Atlassian JIRA (v6.3.4#6332)