Skip to content

Commit 71a04c7

Browse files
tulinkryVladimir Kotal
authored andcommitted
clearing the stack in removeAll method (#1603)
fixes #1602
1 parent 02dcac7 commit 71a04c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/org/opensolaris/opengrok/authorization/AuthorizationFramework.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ public void addPlugin(AuthorizationStack stack, IAuthorizationPlugin plugin, Aut
321321
*/
322322
public void removeAll(AuthorizationStack stack) {
323323
unloadAllPlugins(stack);
324+
stack.getStack().clear();
324325
}
325326

326327
/**

0 commit comments

Comments
 (0)