mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +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
|
@Override
|
||||||
public void shutdown(String quitMsg) {
|
public void shutdown(String quitMsg) {
|
||||||
if (!keepAcceptingRequests.compareAndSet(false, true)) {
|
if (!keepAcceptingRequests.compareAndSet(true, false)) {
|
||||||
// Already stopped, no need to shut down again
|
// Already stopped, no need to shut down again
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue