mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-06-13 16:56:49 +00:00
Merge pull request #171 from JLLeitschuh/fix/daemon_thread
Make threads daemon threads
This commit is contained in:
commit
b2c786c06c
|
@ -231,7 +231,7 @@ public void run()
|
|||
}
|
||||
}
|
||||
} );
|
||||
|
||||
thread.setDaemon(true);
|
||||
thread.start();
|
||||
}
|
||||
|
||||
|
|
|
@ -113,6 +113,7 @@ public void run() {
|
|||
} );
|
||||
|
||||
// Run the task
|
||||
worker.setDaemon(true);
|
||||
worker.start();
|
||||
worker.join( 7000 );
|
||||
|
||||
|
@ -173,7 +174,8 @@ public void run() {
|
|||
}
|
||||
}
|
||||
}, "Computer Dispatch Thread" );
|
||||
|
||||
|
||||
m_thread.setDaemon(true);
|
||||
m_thread.start();
|
||||
m_running = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user