1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

make background thread a daemon

This commit is contained in:
Michael Scharf 2007-04-26 12:59:56 +00:00
parent 69383cb9c0
commit 2020cc540c

View file

@ -587,7 +587,7 @@ class TelnetOption implements TelnetCodes
// thread, and calls to write() can block, but blocking the display thread
// is _bad_ (it hangs the GUI).
new Thread() {
Thread t=new Thread() {
public void run() {
try {
outputStream.write(NAWSDataFinal);
@ -596,7 +596,9 @@ class TelnetOption implements TelnetCodes
Logger.logException(ex);
}
}
}.start();
};
t.setDaemon(true);
t.start();
break;
default: