mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8055767: Sjavac is leaking servers
Reviewed-by: alundblad, jfranck
This commit is contained in:
parent
9867d883ad
commit
e187fdb46d
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ public class SjavacServer implements Terminable {
|
|||
|
||||
@Override
|
||||
public void shutdown(String quitMsg) {
|
||||
if (!keepAcceptingRequests.compareAndSet(false, true)) {
|
||||
if (!keepAcceptingRequests.compareAndSet(true, false)) {
|
||||
// Already stopped, no need to shut down again
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue