Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: com.bloc.intellij_generator_plugin.action.GenerateBlocAction retains disposed Project #4194

Open
ViugiNick opened this issue Jun 18, 2024 · 3 comments
Assignees
Labels
bug Something isn't working extension This issue relates to bloc extensions needs repro info The issue is missing a reproduction sample and/or steps waiting for response Waiting for follow up

Comments

@ViugiNick
Copy link

(root): java.lang.Class(com.intellij.openapi.actionSystem.impl.actionholder.ActionRefKt)
(static): kotlin.SynchronizedLazyImpl
_value: com.intellij.openapi.actionSystem.impl.ActionManagerImpl
idToAction: kotlinx.collections.immutable.implementations.immutableMap.PersistentHashMap
node: kotlinx.collections.immutable.implementations.immutableMap.TrieNode
buffer: java.lang.Object[]
[]: kotlinx.collections.immutable.implementations.immutableMap.TrieNode
buffer: java.lang.Object[]
[]: com.bloc.intellij_generator_plugin.action.GenerateBlocAction
dataContext: com.intellij.openapi.actionSystem.impl.PreCachedDataContext
myCachedData: com.intellij.util.containers.FList
myTail: com.intellij.util.containers.FList
myHead: com.intellij.openapi.actionSystem.impl.PreCachedDataContext$ProviderData
table: java.util.concurrent.ConcurrentHashMap$Node[]
[]: java.util.concurrent.ConcurrentHashMap$Node
next: java.util.concurrent.ConcurrentHashMap$Node
val: com.intellij.ide.projectView.impl.ProjectViewImpl
myCopyPasteDelegator: com.intellij.ide.CopyPasteDelegator
myProject: com.intellij.openapi.project.impl.ProjectImpl (disposed)
@ViugiNick ViugiNick added the bug Something isn't working label Jun 18, 2024
@felangel
Copy link
Owner

Hi 👋
Thanks for opening an issue!
Can you please provide some detailed reproduction steps? Thanks!

@felangel felangel added waiting for response Waiting for follow up needs repro info The issue is missing a reproduction sample and/or steps labels Jun 18, 2024
@felangel felangel self-assigned this Jun 18, 2024
@felangel felangel added the extension This issue relates to bloc extensions label Jun 18, 2024
@ViugiNick
Copy link
Author

This snapshot is from the Android Studio memory usage report, so unfortunately we don't have steps to reproduce it.

@ViugiNick
Copy link
Author

Similar problem with GenerateCubitAction:

(root): java.lang.Class(com.intellij.openapi.actionSystem.impl.actionholder.ActionRefKt)
(static): kotlin.SynchronizedLazyImpl
_value: com.intellij.openapi.actionSystem.impl.ActionManagerImpl
idToAction: kotlinx.collections.immutable.implementations.immutableMap.PersistentHashMap
node: kotlinx.collections.immutable.implementations.immutableMap.TrieNode
buffer: java.lang.Object[]
[]: kotlinx.collections.immutable.implementations.immutableMap.TrieNode
buffer: java.lang.Object[]
[]: com.bloc.intellij_generator_plugin.action.GenerateCubitAction
dataContext: com.intellij.openapi.actionSystem.impl.PreCachedDataContext
myCachedData: com.intellij.util.containers.FList
myTail: com.intellij.util.containers.FList
myHead: com.intellij.openapi.actionSystem.impl.PreCachedDataContext$ProviderData
table: java.util.concurrent.ConcurrentHashMap$Node[]
[]: java.util.concurrent.ConcurrentHashMap$Node
next: java.util.concurrent.ConcurrentHashMap$Node
val: com.intellij.usages.UsageTarget[]
[]: com.intellij.find.findUsages.PsiElement2UsageTargetAdapter
myOptions: com.intellij.find.findUsages.FindUsagesOptions
searchScope: com.intellij.psi.search.ProjectScopeImpl
myProject: com.intellij.openapi.project.impl.ProjectImpl (disposed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working extension This issue relates to bloc extensions needs repro info The issue is missing a reproduction sample and/or steps waiting for response Waiting for follow up
Projects
None yet
Development

No branches or pull requests

2 participants