Skip to content

Commit 05a08da

Browse files
committed
move stopReactor to exit
1 parent 5de2de3 commit 05a08da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/LSP/LanguageServer.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ setupLSP recorder getHieDbLoc userHandlers getIdeState clientMsgVar = do
169169
let asyncHandlers = mconcat
170170
[ userHandlers
171171
, cancelHandler cancelRequest
172-
, exitHandler stopReactorLoop >> exit
172+
, exitHandler $ stopReactorLoop >> exit
173173
, shutdownHandler stopReactorLoop
174174
]
175175
-- Cancel requests are special since they need to be handled

0 commit comments

Comments
 (0)