Using method in SET-CALLBACK() triggers unexpected garbage collection.
Using method in SET-CALLBACK() triggers unexpected garbage collection. Using static method as the callback will cause the static portion of a class to be garbage collected - this will manifest as static properties & variables returning to default values and static constructors being run multiple times. Using instance method causes the class instance to be garbage collected prematurely, causing various issues.