mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
IJPL-172219 Set logger to null without scheduling
GitOrigin-RevId: b7de07645c2e96ce48e93e5eac2e801bd2c01c53
This commit is contained in:
committed by
intellij-monorepo-bot
parent
272368aa06
commit
aa93e32d40
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user