polterguy / lizzie

A script language for .Net and the CLR
https://ainiro.io/
MIT License
189 stars 27 forks source link

Make creation of DI Emit types static on Binder #45

Closed polterguy closed 5 years ago

polterguy commented 5 years ago

To prevent re-creating creation class for the same time. I realized this is a problem yesterday, as I wrapped my head around my own code.

polterguy commented 5 years ago

Implemented in GIT repository. I will highly likely create a new release of this during the weekend, since this actually is a serious bug, implying you might get one new type for every compilation of a piece of Lizzie snippet that is binding to the same type. Which obviously after some time might make your process run out of memory ...