https://github.com/dart-lang/native/pull/2029#discussion_r1974358031 Fix the class leak and stop copying the method dictionary.