Skip to content

Commit

Permalink
Release a RefTracker even if the corresponding finaliser throws an …
Browse files Browse the repository at this point in the history
…error
  • Loading branch information
jorisdral committed Jan 7, 2025
1 parent e80f7f2 commit 2880e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-control/Control/RefCount.hs
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ releaseRef ::
-> m ()
releaseRef ref@Ref{refobj} = do
assertNoDoubleRelease ref
decrementRefCounter (getRefCounter refobj)
releaseRefTracker ref
decrementRefCounter (getRefCounter refobj)

{-# COMPLETE DeRef #-}
#if MIN_VERSION_GLASGOW_HASKELL(9,0,0,0)
Expand Down

0 comments on commit 2880e5e

Please sign in to comment.