mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
returning if a thread is not alive should happen before any changes to
the list of workers, hence the return statement should be in the synchronized block.
This commit is contained in:
@@ -61,8 +61,8 @@ public class CraftThreadManager {
|
||||
return craftWorker.isAlive();
|
||||
}
|
||||
}
|
||||
// didn't find it, so it must have been removed
|
||||
return false;
|
||||
}
|
||||
// didn't find it, so it must have been removed
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user