宏:/script T,F=T or 0,F or CreateFrame("frame")if X then print("off") X=nil else print("on") X=function()local t=GetTime()if t-T>10 then collectgarbage() T=t end end end F:SetScript("OnUpdate",X)
使用方法:上线或者重载后点击一次,聊天框显示ON就行
说明:数字10可以根据自身情况自由调整,目前测试10最佳