Skip to content

Commit 997aeba

Browse files
stevenschlanskertomix26
authored andcommitted
ProcessOutputLogger: don't prevent jvm shutdown (#123)
1 parent 7c437a7 commit 997aeba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/zonky/test/db/postgres/embedded/ProcessOutputLogger.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ static void logOutput(final Logger logger, final Process process, final String p
6666
final String threadName = (isNotBlank(processName) ? processName : "unknown") + ":" + processId(process);
6767
final Thread t = new Thread(new ProcessOutputLogger(logger, process));
6868
t.setName(threadName);
69+
t.setDaemon(true);
6970
t.start();
7071
}
7172

0 commit comments

Comments
 (0)