-- | Removes storage from rendering queue
stopRenderingInternal :: StorageId -> LambdaCubeEnv t -> IO ()
stopRenderingInternal i LambdaCubeEnv{..} = atomicModifyIORef lambdaEnvRenderOrder $ \m ->
  (, ()) $ S.filter (/= i) m
stopRenderingInternal :: StorageId -> LambdaCubeEnv t -> IO ()
stopRenderingInternal i LambdaCubeEnv{..} = atomicModifyIORef lambdaEnvRenderOrder $ \m ->
  (, ()) $ S.filter (/= i) m
stopRenderingInternal i LambdaCubeEnv{..} = atomicModifyIORef lambdaEnvRenderOrder $ \m ->
  (, ()) $ S.filter (/= i) m