Merge pull request #2543 from metamx/fixUnregisterChildPorts

UnRegister port in ForkingTaskRunner
This commit is contained in:
Nishant 2016-02-25 22:32:31 +05:30
commit 4c522a8159
1 changed files with 1 additions and 0 deletions

View File

@ -425,6 +425,7 @@ public class ForkingTaskRunner implements TaskRunner, TaskLogStreamer
}
}
portFinder.markPortUnused(childPort);
if (childChatHandlerPort > 0) {
portFinder.markPortUnused(childChatHandlerPort);
}