IJPL-172219 Set logger to null without scheduling

GitOrigin-RevId: b7de07645c2e96ce48e93e5eac2e801bd2c01c53
This commit is contained in:
Artem.Bukhonov
2024-11-22 19:37:09 +01:00
committed by intellij-monorepo-bot
parent 272368aa06
commit aa93e32d40

View File

@@ -84,11 +84,6 @@ class StatisticsEventLogFileWriter(private val recorderId: String,
}
override fun dispose() {
val closeFuture = AppExecutorUtil.getAppExecutorService().submit {
logger = null
}
Runtime.getRuntime().addShutdownHook(Thread {
closeFuture.get(500, TimeUnit.MILLISECONDS)
})
logger = null
}
}