Skip to content

Commit

Permalink
(fix) NullPointerException at FSMCallerImpl#doCommitted when this.nod…
Browse files Browse the repository at this point in the history
…e.getOptions() #1035 (#1036)

* (fix) NullPointerException at FSMCallerImpl#doCommitted when this.node.getOptions() #1035

* stylo
  • Loading branch information
tkalkirill authored Nov 13, 2023
1 parent 22ecd56 commit 5cae8a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ public synchronized void shutdown() {
task.shutdownLatch = latch;
}));
}
doShutdown();
}

@Override
Expand Down Expand Up @@ -450,6 +449,7 @@ private long runApplyTask(final ApplyTask task, long maxCommittedIndex, final bo
case SHUTDOWN:
this.currTask = TaskType.SHUTDOWN;
shutdown = task.shutdownLatch;
doShutdown();
break;
case FLUSH:
this.currTask = TaskType.FLUSH;
Expand Down

0 comments on commit 5cae8a5

Please sign in to comment.