githree
2017-2-21 16:48:55

I was just playing with frtime demos and noticed that everytime I run any frtime code the CPU usage is high even after stopping/closing the app window. The only way to stop it is to kill DrRacket process. Can anyone see the same?


githree
2017-2-21 16:53:00

To open frtime demos in DrRacket go to Open Require Path type frtime then enter frtime -> frtime/demos and any file there will suffice


reamslin
2017-2-21 16:55:32

@reamslin has joined the channel


pnwamk
2017-2-21 17:57:35

@githree I notice similar behavior — I closed the DrRacket window and opened a new one and it went away (on Mac OS, perhaps this is similar to killing the process?)


githree
2017-2-21 17:58:57

thanks, I tested it on Windows but, yeah we are talking about the same behaviour


githree
2017-2-21 18:00:00

I will raise it on github then


jeapostrophe
2017-2-21 21:08:41

Use dispatch in the outer layer with a pattern like [("prefix" more:str ...) inner-wrapper] then have inner-wrapper do something like (define (inner-wrapper req more) (struct-copy request req [uri (string->url (string-join more "/"))]))