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:
parent
69383cb9c0
commit
2020cc540c
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue