Fixing a bug. Due to a race condition, the view of a closing window could get one release too many.
Authored by: mdehoon 2011-01-08
Parent: [r8900]
Child: [r8902]