mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-03 15:43:45 +00:00
fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
@@ -63,7 +63,8 @@ export namespace FileWatcher {
|
||||
return { sub }
|
||||
},
|
||||
async (state) => {
|
||||
state.sub?.unsubscribe()
|
||||
if (!state.sub) return
|
||||
await state.sub?.unsubscribe()
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user