From ffe99774bb0b64644dc419ba83d131218854d404 Mon Sep 17 00:00:00 2001 From: Mario Visic Date: Tue, 29 Oct 2013 13:04:04 +1100 Subject: Fix issue with Kernel#silence_stream leaking file descriptors Calling Kernel#silence_stream creates a new file descriptor which isn't closed after it is used. As a result calling silence_stream multiple times leads to a build up of loose file descriptors and can cause issues in environments where garbage collection isn't run often. --- activesupport/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activesupport/CHANGELOG.md') diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index ea4aaff610..d23b598144 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,7 @@ +* Fix file descriptor being leaked on each call to `Kernel.silence_stream` + + *Mario Visic* + * Ensure `config.i18n.enforce_available_locales` is set before any other configuration option. -- cgit v1.2.3