Skip to content

Commit

Permalink
NOINLINE to unsafePerformIO function
Browse files Browse the repository at this point in the history
Warning by HLint
  • Loading branch information
igrep committed Apr 8, 2017
1 parent cb3e4a8 commit 80f3061
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Debug/Hood/Observe.hs
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ sendEvent nodeId parent change =
}

-- local
{-# NOINLINE events #-}
events :: IORef [Event]
events = unsafePerformIO $ newIORef badEvents

Expand Down

0 comments on commit 80f3061

Please sign in to comment.