fix: remove race condition in cmd_delegate msg file deletion #211
Reference in New Issue
Block a user
Delete Branch "fix/issue-210-msg-file-race-condition"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
rm -f $msg_filefromcmd_delegatenohupspawned the background process, but beforeopencode runcould read itcmd_startandcmd_continuewhich write to$worktree_path/.kugetsu-msg.txtand never delete itIssue
Fixes #210
lgtm