File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
common/src/main/java/org/embeddedt/modernfix/spark Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public class SparkLaunchProfiler {
3434 private static PlatformInfo platformInfo = new ModernFixPlatformInfo ();
3535 private static CommandSender commandSender = new ModernFixCommandSender ();
3636 private static Map <String , Sampler > ongoingSamplers = new Object2ReferenceOpenHashMap <>();
37- private static ExecutorService executor = Executors .newSingleThreadScheduledExecutor (( new ThreadFactoryBuilder ()).setNameFormat ("spark-modernfix-async-worker" ).build ());
37+ private static ExecutorService executor = Executors .newSingleThreadScheduledExecutor (new ThreadFactoryBuilder (). setDaemon ( true ).setNameFormat ("spark-modernfix-async-worker" ).build ());
3838 private static final SparkPlatform platform = new SparkPlatform (new ModernFixSparkPlugin ());
3939
4040 private static final boolean USE_JAVA_SAMPLER_FOR_LAUNCH = !Boolean .getBoolean ("modernfix.profileWithAsyncSampler" );
You can’t perform that action at this time.
0 commit comments