• M
    [asp.net] Get rid of a possible (although unlikely) race condition when acquiring locks · 67c7faf2
    Marek Habersack 提交于
    The patch removes a small race condition where a boolean flag is set after acquiring a lock to
    indicate to code executing in the finally {} block that it should release the lock. The boolean
    variable is now removed and the lock is released unconditionally. It carries a potential to
    throw an exception when the lock is not held, but it's better than to fail to release it and
    lead the application to a deadlock.
    67c7faf2
WebConfigurationManager.cs 25.6 KB