start() not run()
Patch provided by Felix Schumacher
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1142643 13f79535-47bb-0310-9956-
ffa450edef68
Thread t = new Thread(stop);
t.setName("stop children - " + getObjectName().toString());
- t.run();
+ t.start();
try {
t.join();
} catch (InterruptedException e) {
<bug>51466</bug>: Correct comment typos in HostManagerServlet. Patch
provided by Felix Schumacher. (markt)
</fix>
+ <fix>
+ <bug>51467</bug>: Invoke Thread.start() rather than Thread.run() so that
+ listeners and filters are stopped in a separate thread rather than the
+ current thread. Patch provided by Felix Schumacher. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Other">