Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public class EmbeddedPostgres implements Closeable
private final UUID instanceId = UUID.randomUUID();
private final int port;
private final AtomicBoolean started = new AtomicBoolean();
private final AtomicBoolean closed = new AtomicBoolean();
private final AtomicBoolean dbClosed = new AtomicBoolean();

private final Map<String, String> postgresConfig;
private final Map<String, String> localeConfig;
Expand Down Expand Up @@ -397,7 +397,7 @@ public void run()
@Override
public void close() throws IOException
{
if (closed.getAndSet(true)) {
if (dbClosed.getAndSet(true)) {
return;
}
final StopWatch watch = new StopWatch();
Expand Down