mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Loop over finishListeners keys
This commit is contained in:
@@ -283,7 +283,7 @@ WebApp._timeoutAdjustmentRequestCallback = function(req, res) {
|
||||
res.on('finish', function() {
|
||||
res.setTimeout(SHORT_SOCKET_TIMEOUT);
|
||||
});
|
||||
finishListeners.forEach(function(l) {
|
||||
Object.keys(finishListeners).forEach(function(l) {
|
||||
res.on('finish', l);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user