Closed tumb1er closed 4 years ago
@tumb1er I feel like this would lead to a memory leak. The proper way to go about it is do caching per project - create a map object with projects as keys and widgets as values. Want to try and give it a go?
I'll try it.
@OpherV I looked through internal Idea factories and didn't find any factory that uses widget caching. Every factory calls Disposer.dispose(widget)
like this ont, so memory leak is unlikely.
The only factory with caching is StatusBarWidgetProviderToFactoryAdapter, but 1) it is marked internal 2) it is obviously compatibility support code
Ok, fair enough. Merged
closes #301 cached widget could not be added to second project window, ide crashed