AnActionEvent.getProject() method return wrong project object

Answered

Hi.
When I open two projects at the same time and click the same menu of the two projects in sequence, when I set a breakpoint in the actionPerformed method, there is a possibility that the AnActionEvent.getProject() method obtains incorrect project objects.
Is this a known issue?

1 comment
Comment actions Permalink

I've not heard of such issues, and AnActionEvent.getProject() returning wrong Project instance would certainly cause hundreds of related bug reports.

If you find a way to reproduce it, please file issue in https://youtrack.jetbrains.com/issues/IDEA with steps. Thanks!

0

Please sign in to leave a comment.