Don't claim to be running until we're actually running.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2636 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -67,6 +67,7 @@ public class LoopingThread extends Thread
|
|||||||
public void run ()
|
public void run ()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
_running = true;
|
||||||
willStart();
|
willStart();
|
||||||
|
|
||||||
while (isRunning()) {
|
while (isRunning()) {
|
||||||
@@ -148,5 +149,5 @@ public class LoopingThread extends Thread
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
protected volatile boolean _running = true;
|
protected volatile boolean _running;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user