Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 05:20:05 +01: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.
Dieser Commit ist enthalten in:
Ursprung
6269c1e633
Commit
30d1a5d3fd
@ -61,8 +61,8 @@ public class CraftThreadManager {
|
|||||||
return craftWorker.isAlive();
|
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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren