This project is archived and is in readonly mode.

Changeset [14b6ab0f013f01541fca9fd42b33da96313e0a2e] by Hongli Lai (Phusion)

August 16th, 2009 @ 02:00 AM

Fix reloading of metal pieces. - Do not hold references to old metal objects after metal classes have been reloaded. - Obtain the reloader lock before building the middleware stack, so that reloading of metal pieces works in the face of multithreading.

[#2873 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

Committed by Hongli Lai (Phusion)

  • M actionpack/lib/action_controller/dispatcher.rb
  • M actionpack/lib/action_controller/reloader.rb
  • M actionpack/test/abstract_unit.rb
  • M actionpack/test/controller/dispatcher_test.rb
  • M actionpack/test/controller/reloader_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>