31 minutes and 8 seconds | ||
zhuyifei1999 | 936170b Changeset → | |
Site.editpage: Moving locking mechanism into a try...finally block Repetition is the root of all evil. One place where self.unlock_page(page) is forgotten can cause a deadlock. Try...finally block is used everywhere else for unlocking in Site except for editpage. Bug: T145633 Change-Id: Ia5738f651fa23ab1a62d0f3ead85e0dbf4856136 |