@@ -1666,12 +1666,12 @@ mergeCheap d = Event $ \sub -> do
1666 , subscriberInvalidateHeight = \_ -> return ()
1666 , subscriberInvalidateHeight = \_ -> return ()
1667 , subscriberRecalculateHeight = \_ -> return ()
1667 , subscriberRecalculateHeight = \_ -> return ()
1669− (EventSubscription sln changeSubscription, change) <- subscribeAndRead (dynamicUpdated d) s
1669+ (changeSubscription, change) <- subscribeAndRead (dynamicUpdated d) s
1670 forM_ change $ \c -> defer $ SomeMergeUpdate (updateMe c) invalidateMyHeight revalidateMyHeight
1670 forM_ change $ \c -> defer $ SomeMergeUpdate (updateMe c) invalidateMyHeight revalidateMyHeight
1671 -- We explicitly hold on to the unsubscribe function from subscribing to the update event.
1671 -- We explicitly hold on to the unsubscribe function from subscribing to the update event.
1672 -- If we don't do this, there are certain cases where mergeCheap will fail to properly retain
1672 -- If we don't do this, there are certain cases where mergeCheap will fail to properly retain
1673 -- its subscription.
1673 -- its subscription.
1674− liftIO $ writeIORef changeSubdRef (s, sln, changeSubscription)
1674+ liftIO $ writeIORef changeSubdRef (s, changeSubscription)
1675 let unsubscribeAll = do
1675 let unsubscribeAll = do
1676 parents <- readIORef parentsRef
1676 parents <- readIORef parentsRef
1677 forM_ (DMap.toList parents) $ \(_ :=> MergeSubscribedParent s) -> unsubscribe s
1677 forM_ (DMap.toList parents) $ \(_ :=> MergeSubscribedParent s) -> unsubscribe s
@@ -1965,7 +1965,7 @@ instance HasSpiderTimeline x => R.Reflex (SpiderTimeline x) where
1965 {-# INLINABLE current #-}
1965 {-# INLINABLE current #-}
1966 current = SpiderBehavior . dynamicCurrent . unSpiderDynamic
1966 current = SpiderBehavior . dynamicCurrent . unSpiderDynamic
1967 {-# INLINABLE updated #-}
1967 {-# INLINABLE updated #-}
1968− updated = coerceWith Coercion $ SpiderEvent . dynamicUpdated . unSpiderDynamic
1968+ updated = coerce $ SpiderEvent . dynamicUpdated . unSpiderDynamic
1969 {-# INLINABLE unsafeBuildDynamic #-}
1969 {-# INLINABLE unsafeBuildDynamic #-}
1970 unsafeBuildDynamic readV0 v' = SpiderDynamic $ dynamicDynIdentity $ unsafeDyn (coerce readV0) $ coerce $ unSpiderEvent v'
1970 unsafeBuildDynamic readV0 v' = SpiderDynamic $ dynamicDynIdentity $ unsafeDyn (coerce readV0) $ coerce $ unSpiderEvent v'
1971 {-# INLINABLE unsafeBuildIncremental #-}
1971 {-# INLINABLE unsafeBuildIncremental #-}