theia icon indicating copy to clipboard operation
theia copied to clipboard

FileResource causes emitter memory leak

Open Hanksha opened this issue 7 months ago • 2 comments

Bug Description:

FileResource class constructor calls fileService.onDidChangeFileSystemProviderReadOnlyMessage but doesn't add it to the toDispose collection which leads to emitter memory leak warnings.

Steps to Reproduce:

  1. Open files more than 175 times
  2. You'll see a emitter memory leak warning in the logs

Additional Information

  • Operating System: Windows, Linux
  • Theia Version: 1.50

Hanksha avatar Jul 03 '24 11:07 Hanksha