PacketProcessor.java (run): Send shutdown to jdwp instead of connection.

* gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send
        shutdown to jdwp instead of connection.

From-SVN: r101936
This commit is contained in:
Aaron Luchko
2005-07-12 19:29:37 +00:00
committed by Aaron Luchko
parent 87bd8b7067
commit 04be5ce5ec
2 changed files with 8 additions and 2 deletions
@@ -40,6 +40,7 @@ exception statement from your version. */
package gnu.classpath.jdwp.processor;
import gnu.classpath.jdwp.Jdwp;
import gnu.classpath.jdwp.JdwpConstants;
import gnu.classpath.jdwp.exception.JdwpException;
import gnu.classpath.jdwp.transport.JdwpCommandPacket;
@@ -146,8 +147,8 @@ public class PacketProcessor
{
ex.printStackTrace();
}
// Time to shutdown, tell the _connection thread to stop reading
_connection.shutdown();
// Time to shutdown, tell Jdwp to shutdown
Jdwp.getDefault().shutdown();
}
/**