Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
Fix haddock issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ksaric committed Jun 13, 2019
1 parent 956fbc1 commit 2de183c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cardano/Shell/NodeIPC/Lib.hs
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ handleIPCProtocol :: forall m. (MonadIO m) => Port -> MsgIn -> m MsgOut
handleIPCProtocol (Port port) = \case
QueryPort -> pure (ReplyPort port)
Ping -> pure Pong
Shutdown -> return ShutdownInitiated >> liftIO $ exitWith (ExitFailure 22)
-- ^ Send message, flush buffer, shutdown. Since it's complicated to reason with another
-- Send message, flush buffer, shutdown. Since it's complicated to reason with another
-- thread that shuts down the program after some time, we do it immediately.
Shutdown -> return ShutdownInitiated >> liftIO $ exitWith (ExitFailure 22)
MessageInFailure f -> pure $ MessageOutFailure f

-- | Start IPC listener with given Handles and Port
Expand Down

0 comments on commit 2de183c

Please sign in to comment.