Skip to content

Commit

Permalink
Label KES key receiver thread
Browse files Browse the repository at this point in the history
  • Loading branch information
tdammers committed Feb 27, 2025
1 parent 52ed282 commit de9c931
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,9 @@ mkHotKeyWith initialStateMay maxKESEvolutions keyThreadMay finalizer = do

finalizer' <- case keyThreadMay of
Just keyThread -> do
keyThreadAsync <- async
(keyThread set)
keyThreadAsync <- async $ do
labelThisThread "HotKey receiver"
keyThread set
return (cancel keyThreadAsync >> finalizer)
Nothing ->
return finalizer
Expand Down

0 comments on commit de9c931

Please sign in to comment.