Skip to content

Commit

Permalink
TailDemo: shut down Vty properly
Browse files Browse the repository at this point in the history
  • Loading branch information
jtdaugherty committed Nov 28, 2024
1 parent 39eeccf commit 5776b29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion programs/TailDemo.hs
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,5 @@ main = do
-- Run thread to simulate incoming data
void $ forkIO $ generateLines chan

void $ customMainWithDefaultVty (Just chan) app initialState
(_, vty) <- customMainWithDefaultVty (Just chan) app initialState
V.shutdown vty

0 comments on commit 5776b29

Please sign in to comment.