DEV: attempts to fix various leaks (PR #9428)

GitHub

This isn’t copying them right? It’s a reference to that object. So if that object is mutated setting it back does nothing?

Oh yes I changes the impelmentation of this at the end and didnt check but yes you are right I think. This one doesn’t matter that much anyways, it mosty prevents to carry locales over time, will come up with something better.

@eviltrout I have removed the I18NN change because it’s not needed, and also I changed every scheduleOnce with anon function to schedule because this is broken. A scheduleOnce with an anonymous function will work as a simple schedule as there’s no way it can know it’s the same thing.

A scheduleOnce with an anonymous function will work as a simple schedule as there’s no way it can know it’s the same thing.

Aside from doing toString on it :trollface:

1 Like