Update ZipFileCache and LowMemoryWatcher from new Idea

This commit is contained in:
Nikolay Krasko
2015-04-13 22:24:39 +03:00
parent d036edb5c6
commit ea47e29757
4 changed files with 13 additions and 241 deletions
@@ -72,12 +72,12 @@ class FinishBuildListener(var pluginClassLoader: ParentLastURLClassLoader?) : Bu
}
private fun stopZipFileCache() {
callVoidStaticMethod("com.intellij.openapi.util.io.ZipFileCache", "shutdown")
callVoidStaticMethod("com.intellij.openapi.util.io.ZipFileCache", "stopBackgroundThread")
log.debug("ZipFileCache finished successfully")
}
private fun stopLowMemoryWatcher() {
callVoidStaticMethod("com.intellij.openapi.util.LowMemoryWatcher", "shutdown")
callVoidStaticMethod("com.intellij.openapi.util.LowMemoryWatcher", "stopAll")
log.debug("LowMemoryWatcher finished successfully")
}