assistant: The ConfigMonitor left one zombie behind each time it checked for changes, now fixed.
This commit is contained in:
parent
b543842a7f
commit
a5dded0401
4 changed files with 19 additions and 5 deletions
|
@ -94,6 +94,12 @@ pipeNullSplit params repo = do
|
|||
where
|
||||
sep = "\0"
|
||||
|
||||
pipeNullSplitStrict :: [CommandParam] -> Repo -> IO [String]
|
||||
pipeNullSplitStrict params repo = do
|
||||
s <- pipeReadStrict params repo
|
||||
return $ filter (not . null) $ split sep s
|
||||
where
|
||||
sep = "\0"
|
||||
|
||||
pipeNullSplitZombie :: [CommandParam] -> Repo -> IO [String]
|
||||
pipeNullSplitZombie params repo = leaveZombie <$> pipeNullSplit params repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue