EventEmitter memory leak when pressing "Load Content" button 11 or more times
Opened this issue · 0 comments
benstigsen commented
Click "Load Content" more than 11 times and the following memory leak warning will appear in console:
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit. remark.min.js:1:2157
addListener file:///D:/Projects/Web Projects/RemarkPortable/assets/scripts/remark.min.js:1
configureChildElements file:///D:/Projects/Web Projects/RemarkPortable/assets/scripts/remark.min.js:18
r file:///D:/Projects/Web Projects/RemarkPortable/assets/scripts/remark.min.js:18
r file:///D:/Projects/Web Projects/RemarkPortable/assets/scripts/remark.min.js:1
r file:///D:/Projects/Web Projects/RemarkPortable/assets/scripts/remark.min.js:17
create file:///D:/Projects/Web Projects/RemarkPortable/assets/scripts/remark.min.js:1
loadContent file:///D:/Projects/Web Projects/RemarkPortable/main.js:29
onclick file:///D:/Projects/Web Projects/RemarkPortable/index.html#1:1