mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
feat: moved project info destruction logic to ProjectManager
This commit is contained in:
@@ -72,6 +72,14 @@ object ProjectManager : EventReceiver {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun destroy() {
|
||||
log.info("Destroying project manager")
|
||||
this.rootProject = null
|
||||
this.app = null
|
||||
this.cachedInitResult = null
|
||||
this.projectInitialized = false
|
||||
}
|
||||
|
||||
fun getProjectDir(): File {
|
||||
return File(getProjectDirPath())
|
||||
|
||||
Reference in New Issue
Block a user