Skip to content

Commit

Permalink
[managedledger] NPE on OpAddEntry while ManagedLedger is closing (apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi authored Oct 14, 2021
1 parent 21b758c commit cc70a1f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1680,6 +1680,7 @@ public ManagedLedgerInterceptor getManagedLedgerInterceptor() {
void clearPendingAddEntries(ManagedLedgerException e) {
while (!pendingAddEntries.isEmpty()) {
OpAddEntry op = pendingAddEntries.poll();
op.close();
op.failed(e);
}
}
Expand Down

0 comments on commit cc70a1f

Please sign in to comment.