Skip to content

Commit

Permalink
Fix infinite loop issue
Browse files Browse the repository at this point in the history
Co-authored-by: Ian Duncan <[email protected]>
  • Loading branch information
evanlauer1 and iand675 authored May 24, 2024
1 parent e6b7fc4 commit e0179a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/OpenTelemetry/SemanticsConfig.hs
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,5 @@ memoize action = do
-- This uses the global IORef trick:
-- https://www.parsonsmatt.org/2021/04/21/global_ioref_in_template_haskell.html
getSemanticsOptions :: IO SemanticsOptions
getSemanticsOptions = unsafePerformIO $ memoize getSemanticsOptions
getSemanticsOptions = unsafePerformIO $ memoize getSemanticsOptions'
{-# NOINLINE getSemanticsOptions #-}

0 comments on commit e0179a4

Please sign in to comment.