Exemplo n.º 1
0
 public void Stop()
 {
     if (IsActive)
     {
         AmeisenCore.LuaDoString($"abFrame:UnregisterAllEvents();");
         AmeisenCore.LuaDoString("abFrame:SetScript(\"OnEvent\", nil)");
         IsActive = false;
         EventReader.Join();
     }
 }