uliwitness / Stacksmith

An intuitive software erector kit targeted at people new to programming, but with enough potential to stay useful once they've learned, inspired by HyperCard.
http://stacksmith.org
131 stars 13 forks source link

Download command seems to persist state between calls #80

Closed uliwitness closed 8 years ago

uliwitness commented 8 years ago

It takes old data from the previous download and appends the new data to that, then feeds that into the destination. It also seems to not recompile the "for each chunk" and "when done" handlers. It's as if it re-uses the download delegate?

uliwitness commented 8 years ago

Turns out that's it. The delegate is per session, and I'm only setting it on the session the first time when I create the shared session. Doh.