Bug 521079 - There is no way to remove fileModification listeners from the server
Summary: There is no way to remove fileModification listeners from the server
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Node (show other bugs)
Version: 15.0   Edit
Hardware: PC Mac OS X
: P2 normal (vote)
Target Milestone: 17.0   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2017-08-17 14:35 EDT by Michael Rennie CLA
Modified: 2017-10-10 11:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2017-08-17 14:35:30 EDT
File modification listeners can be added to listen to file change events (OK), the problem is, there is no way to remove one - so the list of them grows monotonically until the server is restarted.

Listeners should be mapped rather than simply pushed into an array