提交 d2699b48 编写于 作者: B Brian Moyles 提交者: Kohsuke Kawaguchi

synchronizing here can cause deadlock conditions from plugins like the

keyboard shortcuts plugin that ask for all views very frequently and do
additional locking on the actual view objects
上级 1589ec44
......@@ -1367,7 +1367,7 @@ public class Jenkins extends AbstractCIBase implements ModifiableItemGroup<TopLe
* Gets the read-only list of all {@link View}s.
*/
@Exported
public synchronized Collection<View> getViews() {
public Collection<View> getViews() {
return viewGroupMixIn.getViews();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册