keytogoodcode.com
Garbage collection of event subscribers
I once wrote a post on event subscribers and the presumed performance benefits of single instance subscriber codeunits, but the topic keeps reappearing every now and then, and I feel it could be a good idea to add a few more arguments to the same old debate. Because why not run a few useless, but highly entertaining tests on a Saturday evening.One statement in defense of the single instance event subscribers is that the subscriber codeunit does not have to be disposed after the execution and rem