Closure add methodDef to fix that gc recycle methodDef objects