Skip to content
This repository was archived by the owner on Feb 1, 2019. It is now read-only.

Commit d928022

Browse files
committed
Properly exit the repl process.
1 parent 361d2d7 commit d928022

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

haskell/LTHaskellClient.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ execCommand :: LTClientState -> LTCommand (Maybe LTPayload) -> IO ()
6464

6565
execCommand state (LTCommand (_, "client.close", Nothing)) = do
6666
hClose $ ltHandle state
67+
endSession $ ltReplSession state
6768
exitSuccess
6869

6970
execCommand state (LTCommand (cId, command, Just ltPayload)) =

0 commit comments

Comments
 (0)