Opened 13 years ago
Closed 13 years ago
#35 closed defect (fixed)
Space leak in timing code
| Reported by: | Ben Lippmeier | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.8.0 |
| Component: | Unknown | Version: | 1.7.0 |
| Keywords: | Cc: |
Description
This program leaks 25k/sec
module Main (
main
)
where
import Graphics.Gloss
import Graphics.Gloss.Interface.IO.Game
main =
playIO (InWindow "glossmem" (500, 500) (0,0)) white 10 0
(\world -> return (translate (-250) 0 (text $ show world)))
(\event -> (\world -> return world))
(\timePassed -> (\world -> return $ world + timePassed))
Note: See
TracTickets for help on using
tickets.
