fix undo launcher's bug

This commit is contained in:
cca5507
2023-03-01 16:27:44 +08:00
parent 9ca77f6327
commit 8cd82a12c5

View File

@ -318,5 +318,6 @@ NON_EXEC_STATIC void UndoLauncherMain()
shutdown:
ereport(LOG, (errmsg("undo launcher shutting down")));
t_thrd.undolauncher_cxt.UndoWorkerShmem->undo_launcher_pid = 0;
DisownLatch(&t_thrd.undolauncher_cxt.UndoWorkerShmem->latch);
proc_exit(0);
}