Skip to content

Commit

Permalink
Fix MVar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
samalws-tob committed Jun 27, 2024
1 parent 882c699 commit 77fe0df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Echidna/UI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ ui vm world dict initialCorpus cliSelectedContract cs = do
Interactive -> do
-- Channel to push events to update UI
uiChannel <- liftIO $ newBChan 1000
let forwardEvent = writeBChan uiChannel . EventReceived
let forwardEvent = void . writeBChanNonBlocking uiChannel . EventReceived
uiEventsForwarderStopVar <- spawnListener forwardEvent

ticker <- liftIO . forkIO . forever $ do
Expand Down

0 comments on commit 77fe0df

Please sign in to comment.